D-Link DIR-816 OS Command Injection Vulnerability

Vulnerability

A critical command injection vulnerability has been identified in the D-Link DIR-816 router, specifically in the 1.10CNB05 firmware version. The issue arises in the 'setipsec_config' function within the '/goform/setipsec_config' file, where the 'localIP' and 'remoteIP' arguments can be manipulated to inject and execute arbitrary operating system commands. This vulnerability can be exploited remotely without authentication, and it affects products that are no longer supported by the manufacturer.

Impact

Exploitation of this vulnerability allows for arbitrary operating system command execution on the affected device.

Reproduction

To reproduce this vulnerability, send a POST request to '/goform/setipsec_config' with crafted 'localIP' and 'remoteIP' values that include the desired OS commands. After the injection is successful, trigger the 'IpsecAction' function to execute the injected commands. This can be done using a web browser or a tool like curl.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
7.5
exploitability
9.1
remediation
0.0
relevance
0.2
threat
6.5
urgency
2.9
incentive
9.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.