{"id":"CVE-2022-24989","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 PHP Object Instantiation to the api.php?","description":"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.","publishedAt":"2023-08-20T00:00:00.000Z","updatedAt":"2024-10-08T14:30:47.504Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://forum.terra-master.com/en/viewforum.php?f=28","https://github.com/0xf4n9x/CVE-2022-24990","https://packetstormsecurity.com/files/172904","https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990","https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24989.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-24989","state":"PUBLISHED","datePublished":"2023-08-20T00:00:00.000Z","dateUpdated":"2024-10-08T14:30:47.504Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-02-14T00:00:00.000Z"},"containers":{"cna":{"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"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-08-20T17:31:53.011Z"}},"adp":[{"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"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:29:01.558Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"terra-master","product":"terramaster_operating_system","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.2.30","versionType":"custom"}],"cpes":["cpe:2.3:o:terra-master:terramaster_operating_system:-:*:*:*:*:*:*:*"]}],"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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-08T14:30:47.504Z"}}]}}}