| Title | Dlink DIR-615 v4.10 OS Command Injection |
|---|
| Description | D-Link DIR-615 routers (hardware revision D) with firmware version 4.10 contain a command injection vulnerability in the Web configuration interface. The vulnerability exists within the "Advanced Firewall" settings (adv_firewall.php), specifically in the DMZ Host feature.
When an authenticated user enables the DMZ Host and submits a configuration, the IP address parameter (dmz_ipaddr) is saved to the device's specialized NVRAM (XMLDB). The backend script flush_dmz.php, which is responsible for applying the new firewall rules, retrieves this value and interpolates it directly into a shell command to configure iptables without proper sanitization or validation. An attacker with administrative access can modify the HTTP request to inject arbitrary shell commands (e.g., via shell metacharacters like ;, &&, or |) into the dmz_ipaddr field. These commands are subsequently executed by the system with root privileges. |
|---|
| Source | ⚠️ https://pentagonal-time-3a7.notion.site/DIR-615-OS-Command-Injection-2f6e5dd4c5a58053b2b4f166c2a503ba |
|---|
| User | Anonymous User |
|---|
| Submission | 01/28/2026 08:02 (3 months ago) |
|---|
| Moderation | 02/07/2026 08:59 (10 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 344853 [D-Link DIR-615 4.10 DMZ Host Feature adv_firewall.php dmz_ipaddr os command injection] |
|---|
| Points | 17 |
|---|