« Volver al listado

CVE-2022-24989

Estado: ModificadaCrítica (9.8)—💥 Exploit

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.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

💥 Exploits públicos

Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2022-24989",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2022-24989",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2024-10-08T14:28:56.844478Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 9.8,
          "attackVector": "NETWORK",
          "baseSeverity": "CRITICAL",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "cve@mitre.org",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ]
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "affectedData": [
        {
          "cpes": [
            "cpe:2.3:o:terra-master:terramaster_operating_system:-:*:*:*:*:*:*:*"
          ],
          "vendor": "terra-master",
          "product": "terramaster_operating_system",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "versionType": "custom",
              "lessThanOrEqual": "4.2.30"
            }
          ],
          "defaultStatus": "unknown"
        }
      ]
    }
  ],
  "published": "2023-08-20T18:15:09.523",
  "references": [
    {
      "url": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990",
      "tags": [
        "Third Party Advisory"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://forum.terra-master.com/en/viewforum.php?f=28",
      "tags": [
        "Release Notes"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://github.com/0xf4n9x/CVE-2022-24990",
      "tags": [
        "Exploit"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation",
      "tags": [
        "Exploit"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://packetstormsecurity.com/files/172904",
      "tags": [
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990",
      "tags": [
        "Third Party Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://forum.terra-master.com/en/viewforum.php?f=28",
      "tags": [
        "Release Notes"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://github.com/0xf4n9x/CVE-2022-24990",
      "tags": [
        "Exploit"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation",
      "tags": [
        "Exploit"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://packetstormsecurity.com/files/172904",
      "tags": [
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-74"
        }
      ]
    }
  ],
  "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."
    }
  ],
  "lastModified": "2026-06-17T04:32:54.627",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:terra-master:terramaster_operating_system:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A0AE9591-B8DA-4A95-9734-1A58B95BB227",
              "versionEndExcluding": "4.2.31"
            }
          ],
          "operator": "OR"
        },
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:h:terra-master:f2-210:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "A084599C-E4D9-4EC5-8103-68CDBB3604CF"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f2-221:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "EAEF4467-F859-45E8-8171-54350D7D53BB"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f2-223:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "CB1C4291-64C7-4DCB-87A7-EE6A40146406"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f2-422:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "B42338B7-B6C2-49ED-AF3B-6815317884FD"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f2-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "67EF611C-748C-4CB0-902B-1966B6C6A7AA"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f4-421:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "3EDED618-8CF9-41C0-942F-9F5D002BE03E"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f4-422:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "402856F7-D66E-4C49-9F32-384AE7A05C7A"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f4-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "54A2F40A-F7B2-4B90-90A5-130533778329"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f5-221:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "D062C23E-2584-41EE-B1CC-BDC95E59B914"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:f5-422:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "1681757B-8E75-4B6A-838B-552B0BDC5EFE"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:t12-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "3A349FBD-BC5E-4024-AD39-328B32F60926"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:t12-450:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "55C15FCA-8926-42B7-9281-9F1EF7DC87DB"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:t6-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "E71B3D05-9532-4B1E-B396-E9FFB3A18293"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:t9-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "1A27209E-7A2A-45BA-AF03-4B7EEBD8F1D1"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:t9-450:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "1FFE2A59-4247-463E-B5C5-056C340F96E3"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u12-322-9100:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "BFC50AFC-D452-44C6-ABF9-8E38031F63BB"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u12-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "AEF38923-3F6B-4115-9574-42A5916E4A86"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u12-722-2224:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "8C1070B1-DACC-4A1F-BC42-F7915CF61E53"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u16-322-9100:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "40A6B355-0AD1-4591-81D5-CDB020340D5E"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u16-722-2224:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "49C9AB29-58C3-4005-86B4-A31CE157DD8D"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u24-722-2224:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "540EC60C-3285-4BFD-A617-14646988D361"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u4-111:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "C0E959DF-601B-4561-BC18-753A0C5FB13C"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u4-211:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "18A93A74-C8B7-4146-A3FF-8B3678FBD5B5"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u4-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "9220B428-CAF9-4EC1-92FB-FA81592D191C"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u8-111:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "5125FD8D-9EC9-4B5C-9CB3-E3ADE59A7CB1"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u8-322-9100:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "8982E486-A1D5-411D-85D1-20E5A3DB8192"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u8-423:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "3491C51B-83EB-4D50-9B41-7E1F2B7A63AB"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u8-522-9400:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "47377993-E503-44F4-92C6-4B57A3E280B2"
            },
            {
              "criteria": "cpe:2.3:h:terra-master:u8-722-2224:-:*:*:*:*:*:*:*",
              "vulnerable": false,
              "matchCriteriaId": "39231C4D-8F9E-4A21-A5D9-F5DED81A6E00"
            }
          ],
          "operator": "OR"
        }
      ],
      "operator": "AND"
    }
  ],
  "sourceIdentifier": "cve@mitre.org"
}