{"id":"CVE-2022-24989","aliases":["CVE-2022-24989"],"related":[],"kind":"vulnerability","state":"published","title":"TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype and diskstring parameters for…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-08-20T00:00:00.000Z","modified":"2026-06-17T04:32:54.627Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"4.2.30","status":"affected"}],"vendor":"terra-master","product":"terramaster_operating_system","cpe":"cpe:2.3:o:terra-master:terramaster_operating_system:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.2.31"}],"vendor":"terra-master","product":"terramaster_operating_system","cpe":"cpe:2.3:o:terra-master:terramaster_operating_system:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://forum.terra-master.com/en/viewforum.php?f=28","tags":["release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/0xf4n9x/CVE-2022-24990","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://packetstormsecurity.com/files/172904","tags":["exploit","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-08T14:28:56.844Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24989","url":"https://www.cve.org/CVERecord?id=CVE-2022-24989","licence":"CVE Terms of Use","modified":"2024-10-08T14:30:47.504Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24989","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24989","licence":"Public domain","modified":"2026-06-17T04:32:54.627Z"}],"updatedAt":"2026-11-25T22:58:19.564Z","epss":{"score":0.26088,"percentile":0.98445,"date":"2026-11-26T12:00:25.000Z"}}