CVE-2025-60700
JSON

6.5medium

A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1FW102B02 within the prog.cgi and librcm.so 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 `librcm.so` binaries. The `sub_4455BC` function in `prog.cgi` stores user-supplied `SetDMZSettings/IPAddress` values in NVRAM via `nvram_safe_set("dmz_ipaddr", ...)`. These values are later retrieved in the `DMZ_run` function of `librcm.so` using `nvram_safe_get` and concatenated into `iptables` shell commands executed via `twsystem()` without any 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 `librcm.so` binaries. The `sub_4455BC` function in `prog.cgi` stores user-supplied `SetDMZSettings/IPAddress` values in NVRAM via `nvram_safe_set("dmz_ipaddr", ...)`. These values are later retrieved in the `DMZ_run` function of `librcm.so` using `nvram_safe_get` and concatenated into `iptables` shell commands executed via `twsystem()` without any 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 “librcm.so”. La función “sub_4455BC” en “prog.cgi” almacena valores “SetDMZSettings/IPAddress” proporcionados por el usuario en la NVRAM a través de “nvram_safe_set(“dmz_ipaddr”, ...)”. Estos valores son recuperados posteriormente en la función “DMZ_run” de “librcm.so” usando “nvram_safe_get” y concatenados en comandos de shell “iptables” ejecutados a través de “twsystem()” sin ninguna 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-60700 changed 2025-11-14CVE Terms of Use
NVDCVE-2025-60700 changed 2026-11-05Public domain