| Titel | D-Link DIR-620S 4.0.2 OS Command Injection |
|---|
| Beschreibung | The web server /usr/sbin/anweb (deuteron framework) exposes network diagnostic actions (ping/ping6/traceroute/traceroute6/iperf3) over the WebSocket endpoint /websocket (text messages prefixed "sysutils:"). In action_ping the request parameters are concatenated into a shell command executed with popen(). The "host" parameter is validated (is_valid_host: only [A-Za-z0-9:._-]) and "-c"/"-s"/"-W" via is_numeric, but the "-I" parameter is NOT validated and is concatenated verbatim into the command. An authenticated attacker can inject shell metacharacters through "-I" to execute arbitrary OS commands as root (CWE-78), achieving full device compromise: arbitrary command execution, arbitrary file read (e.g. /etc/passwd, /etc/shadow, and the device TLS private key /etc/server.key). Affected binary: /usr/sbin/anweb (MIPS32). Firmware image SHA-256: fe781b8cfc583367eee890e5cac239ac8ba639bea7a41a97e03b92b0a4c7e6ad
CWE-78. CVSS 3.1: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8). |
|---|
| Quelle | ⚠️ https://github.com/MadLies/dlink-dir620s-anweb-cmdinjection |
|---|
| Benutzer | MadLies (UID 102729) |
|---|
| Einreichung | 03.11.2026 23:50 (vor 24 Tagen) |
|---|
| Moderieren | 27.11.2026 21:47 (24 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 445020 [D-Link DIR-620S 4.0.2 Diagnostic /usr/sbin/anweb I erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|