Skip to content

Files

Latest commit

c659f11 · Jun 10, 2023

History

History
28 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.04 KB

D-link DIR-600 cmd injection vulnerability

Overview

Affected version

  • Hardware version B5
  • Firmware version 2.18

1

Figure 1 shows the latest firmware of the router

Vulnerability Details

2 3

The content obtained by the program through ST parameters is passed to lxmldbc_system(). There is a command injection vulnerability.

The vulnerability is in ssdp.cgi binary, the vulnerability that exists in the parsing of the HTTP request header field comes as input. 

Since there is no proper filter process in the user-supplied data before passing it to system(), an attacker can send malicious data and then parse it. This allows the attacker to perform a Pre-Authentication command injection.

PoC

The Proof-of-Concept video is in the attach.