| عنوان | D-Link DIR-620S 4.0.2 OS Command Injection |
|---|
| الوصف | 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). |
|---|
| المصدر | ⚠️ https://github.com/MadLies/dlink-dir620s-anweb-cmdinjection |
|---|
| المستخدم | MadLies (UID 102729) |
|---|
| ارسال | 03/11/2026 11:50 PM (24 أيام منذ) |
|---|
| الاعتدال | 27/11/2026 09:47 PM (24 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 445020 [D-Link DIR-620S 4.0.2 Diagnostic /usr/sbin/anweb I تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|