← Back to CVE Explorer

CVE-2025-57293

Full vulnerability record from the local CVENow database.

Description

A command injection vulnerability in COMFAST CF-XR11 (firmware V2.7.2) exists in the multi_pppoe API, processed by the sub_423930 function in /usr/bin/webmgnt. The phy_interface parameter is not sanitized, allowing attackers to inject arbitrary commands via a POST request to /cgi-bin/mbox-config?method=SET&section=multi_pppoe. When the action parameter is set to "one_click_redial", the unsanitized phy_interface is used in a system() call, enabling execution of malicious commands. This can lead to unauthorized access to sensitive files, execution of arbitrary code, or full device compromise.

Severity
HIGH
CVSS score
8.8 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-09-18 21:15:49.203000
Last modified
2026-11-05 23:10:00.150000
View original CVE JSON
{
  "id": "CVE-2025-57293",
  "sourceIdentifier": "[email protected]",
  "published": "2025-09-18T21:15:49.203",
  "lastModified": "2026-11-05T23:10:00.150",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A command injection vulnerability in COMFAST CF-XR11 (firmware V2.7.2) exists in the multi_pppoe API, processed by the sub_423930 function in /usr/bin/webmgnt. The phy_interface parameter is not sanitized, allowing attackers to inject arbitrary commands via a POST request to /cgi-bin/mbox-config?method=SET&section=multi_pppoe. When the action parameter is set to \"one_click_redial\", the unsanitized phy_interface is used in a system() call, enabling execution of malicious commands. This can lead to unauthorized access to sensitive files, execution of arbitrary code, or full device compromise."
    },
    {
      "lang": "es",
      "value": "Una vulnerabilidad de inyección de comandos en COMFAST CF-XR11 (firmware V2.7.2) existe en la API multi_pppoe, procesada por la función sub_423930 en /usr/bin/webmgnt. El parámetro phy_interface no está saneado, permitiendo a los atacantes inyectar comandos arbitrarios a través de una solicitud POST a /cgi-bin/mbox-config?method=SET&section=multi_pppoe. Cuando el parámetro action se establece en ’one_click_redial’, el phy_interface no saneado se utiliza en una llamada a system(), lo que permite la ejecución de comandos maliciosos. Esto puede llevar a acceso no autorizado a archivos sensibles, ejecución de código arbitrario o compromiso total del dispositivo."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-09-19T14:06:55.737586Z",
          "id": "CVE-2025-57293",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-77"
        }
      ]
    }
  ],
  "configurations": [
    {
      "operator": "AND",
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:comfast:cf-xr11_firmware:2.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "A0ACB279-03B0-4092-B9AC-32E33B25783A"
            }
          ]
        },
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": false,
              "criteria": "cpe:2.3:h:comfast:cf-xr11:-:*:*:*:*:*:*:*",
              "matchCriteriaId": "EA049A93-1713-4B95-AB0F-84E2D6C99A26"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/ZZ2266/.github.io/blob/main/comfast/multi_pppoe.markdown",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    }
  ]
}