{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-24989",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-10-08T14:30:47.504Z",
        "dateReserved": "2022-02-14T00:00:00",
        "datePublished": "2023-08-20T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2023-08-20T17:31:53.011294"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://forum.terra-master.com/en/viewforum.php?f=28"
                },
                {
                    "url": "https://github.com/0xf4n9x/CVE-2022-24990"
                },
                {
                    "url": "https://packetstormsecurity.com/files/172904"
                },
                {
                    "url": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990"
                },
                {
                    "url": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T04:29:01.558Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://forum.terra-master.com/en/viewforum.php?f=28",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/0xf4n9x/CVE-2022-24990",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://packetstormsecurity.com/files/172904",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "terra-master",
                        "product": "terramaster_operating_system",
                        "cpes": [
                            "cpe:2.3:o:terra-master:terramaster_operating_system:-:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "4.2.30",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-10-08T14:28:56.844478Z",
                                "id": "CVE-2022-24989",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-08T14:30:47.504Z"
                }
            }
        ]
    }
}