| Titel | D-Link DIR-600L 2.17b02 OS Command Injection |
|---|
| Beschreibung | An unauthenticated OS command injection vulnerability was identified in D-Link DIR-600L hardware revision B, firmware 2.17b02.
The vulnerability exists in the UPnP GENA subscription handler, genacgi_main, within the htdocs/cgibin executable.
The handler extracts a user-controlled service parameter from the HTTP request URI and incorporates it into a shell-oriented command string without adequate input validation.
The resulting command is passed to the xmldb timer mechanism, which may execute attacker-controlled shell commands in the device's service context.
Static analysis identified the unsafe command construction.
In a re-hosted QEMU-MIPSEL firmware environment, an unauthenticated HTTP SUBSCRIBE request triggered the vulnerable handler. The test returned HTTP 200, and a benign marker file was successfully created.
The research transcript confirmed the expected marker contents, demonstrating command execution in the emulated environment.
The original firmware analysis indicates that the affected service executes with root privileges.
According to the firmware service configuration, the vulnerable UPnP service is accessible from the local network. The emulation environment used a different HTTP routing configuration while retaining the analyzed CGI handler.
Successful exploitation may allow an unauthenticated attacker with access to the UPnP service to execute arbitrary commands and compromise the device.
Physical hardware exploitation has not been demonstrated.
Affected vendor: D-Link
Affected product: DIR-600L
Hardware revision: B
Affected firmware: 2.17b02
Affected component: gena.cgi / genacgi_main
Vulnerability type: OS Command Injection
CWE: CWE-78
Authentication required: No
Attack vector: UPnP GENA HTTP SUBSCRIBE request
Testing environment: Re-hosted QEMU-MIPSEL
Preliminary CVSS v3.1: 8.8 (High)
CVSS vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Related vulnerability: CVE-2019-17621.
CVE-2019-17621 describes unauthenticated command injection through the GENA handler of D-Link DIR-859 firmware.
The present research identifies D-Link DIR-600L Rev B firmware 2.17b02 as another potentially affected implementation.
The finding should be reviewed as an affected-product extension or related vulnerability. A separate CVE assignment should only be considered after the CNA determines whether the root cause is distinct.
Vendor notification status: Not independently confirmed.
|
|---|
| Quelle | ⚠️ https://github.com/ruanyi101/router-firmware-security-advisories/blob/main/router-firmware-GitHub-advisories/related-findings/D-Link-DIR-600L-gena-cgi-command-injection-affected-model.md |
|---|
| Benutzer | ruanyi (UID 102203) |
|---|
| Einreichung | 21.10.2026 12:52 (vor 30 Tagen) |
|---|
| Moderieren | 19.11.2026 23:05 (29 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 440913 [D-Link DIR-600L 2.17b02 GENA gena.cgi genacgi_main erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|