CVE-2025-60701
JSON

6.5medium

A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1FW102B02 within the prog.cgi and rc binaries.

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
3.79% (higher than 91% of CVEs)
Published
Last changed
Assigned by
mitre

Description

A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1_FW102B02 within the `prog.cgi` and `rc` binaries. The `sub_433188` function in `prog.cgi` stores user-supplied email configuration parameters (`EmailFrom`, `EmailTo`, `SMTPServerAddress`, `SMTPServerPort`, `AccountName`) in NVRAM via `nvram_safe_set`. These values are later retrieved in the `sub_448FDC` function of `rc` using `nvram_safe_get` and concatenated into shell commands executed via `twsystem()` without sanitization. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary commands on the device through specially crafted HTTP requests to the router's web interface.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
dlink dir-882_firmware1.02b02NVD

Classification

CWE-77

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1_FW102B02 within the `prog.cgi` and `rc` binaries. The `sub_433188` function in `prog.cgi` stores user-supplied email configuration parameters (`EmailFrom`, `EmailTo`, `SMTPServerAddress`, `SMTPServerPort`, `AccountName`) in NVRAM via `nvram_safe_set`. These values are later retrieved in the `sub_448FDC` function of `rc` using `nvram_safe_get` and concatenated into shell commands executed via `twsystem()` without sanitization. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary commands on the device through specially crafted HTTP requests to the router's web interface.

NVD (es)

Una vulnerabilidad de inyección de comandos existe en el firmware del router D-Link DIR-882 DIR882A1_FW102B02 dentro de los binarios “prog.cgi” y “rc”. La función “sub_433188” en “prog.cgi” almacena parámetros de configuración de correo electrónico proporcionados por el usuario (“EmailFrom”, “EmailTo”, “SMTPServerAddress”, “SMTPServerPort”, “AccountName”) en la NVRAM a través de “nvram_safe_set”. Estos valores son posteriormente recuperados en la función “sub_448FDC” de “rc” usando “nvram_safe_get” y concatenados en comandos de shell ejecutados a través de “twsystem()” sin sanitización. Un atacante remoto no autenticado puede explotar esta vulnerabilidad para ejecutar comandos arbitrarios en el dispositivo a través de solicitudes HTTP especialmente diseñadas a la interfaz web del router.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-60701 changed 2025-11-14CVE Terms of Use
NVDCVE-2025-60701 changed 2026-11-05Public domain