{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2022-24989",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype and diskstring parameters for PHP Object Instantiation to the api.php?mobile/createRaid URI. (Shell metacharacters can be placed in raidtype because popen is used without any sanitization.) The credentials from CVE-2022-24990 exploitation can be used."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://forum.terra-master.com/en/viewforum.php?f=28",
                "refsource": "MISC",
                "name": "https://forum.terra-master.com/en/viewforum.php?f=28"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/0xf4n9x/CVE-2022-24990",
                "url": "https://github.com/0xf4n9x/CVE-2022-24990"
            },
            {
                "refsource": "MISC",
                "name": "https://packetstormsecurity.com/files/172904",
                "url": "https://packetstormsecurity.com/files/172904"
            },
            {
                "refsource": "MISC",
                "name": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990",
                "url": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990"
            },
            {
                "refsource": "MISC",
                "name": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation",
                "url": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation"
            }
        ]
    }
}