cbcvebase.
CVE-2013-7389
published 2014-07-07

CVE-2013-7389: Multiple cross-site scripting (XSS) vulnerabilities in D-Link DIR-645 Router (Rev. A1) with firmware before 1.04B11 allow remote attackers to inject arbitrary…

PriorityP271medium4.3CVSS 2.0
AVNACMAuNCNIPAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
27.75%
98.1th percentile
Multiple cross-site scripting (XSS) vulnerabilities in D-Link DIR-645 Router (Rev. A1) with firmware before 1.04B11 allow remote attackers to inject arbitrary web script or HTML via the (1) deviceid parameter to parentalcontrols/bind.php, (2) RESULT parameter to info.php, or (3) receiver parameter to bsc_sms_send.php.

Affected

2 ranges
VendorProductVersion rangeFixed in
dlinkdir-645——
dlinkdir-645_firmware<= 1.03—

Detection & IOCsextracted from sources · hover to see the quote

path/parentalcontrols/bind.php↗
path/info.php↗
path/bsc_sms_send.php↗
path/post_login.xml↗
path/hedwig.cgi↗
path/authentication.cgi↗
process/usr/sbin/widget↗
commandcurl http:///post_login.xml?hash=AAA...AAABBBB↗
commandcurl -b uid=$(perl -e 'print "A"x1400;') -d 'test' http:///hedwig.cgi↗
commandcurl -b uid=test -d $(perl -e 'print "uid=test&password=asd" . "A"x2024;') http:///authentication.cgi↗
cookieuid=<oversized_value>↗
  • →Detect XSS attempts targeting the 'deviceid' parameter in GET requests to /parentalcontrols/bind.php on D-Link DIR-645 devices. ↗
  • →Detect XSS attempts targeting the 'RESULT' parameter in GET requests to /info.php on D-Link DIR-645 devices. ↗
  • →Detect XSS attempts targeting the 'receiver' parameter in GET requests to /bsc_sms_send.php on D-Link DIR-645 devices. ↗
  • →Detect oversized 'hash' GET parameter (>= 292 characters) in requests to /post_login.xml, indicative of stack buffer overflow exploitation attempt against /usr/sbin/widget. ↗
  • →Detect HTTP requests to /hedwig.cgi with an oversized 'uid' cookie value (>= 1400 bytes), indicative of buffer overflow exploitation. ↗
  • →Detect HTTP POST requests to /authentication.cgi with an oversized 'password' parameter (>= 2024 bytes appended to uid=test&password=asd), indicative of buffer overflow exploitation. ↗
  • →All three buffer overflow vulnerabilities (post_login.xml, hedwig.cgi, authentication.cgi) are exploitable without authentication — monitor for unauthenticated access to these endpoints. ↗
  • →Metasploit modules exist for hedwig.cgi and authentication.cgi buffer overflows; monitor for exploitation patterns matching DIR645A1_FW103B11 firmware targets. ↗
  • ·The XSS vulnerabilities (CVE-2013-7389) are distinct from the buffer overflow vulnerabilities described in the same advisory; the CVE specifically covers only the XSS issues in bind.php, info.php, and bsc_sms_send.php. ↗
  • ·Firmware versions DIR865LA1_FW101b06 and DIR845LA1_FW100b20 are also noted as vulnerable to the authentication.cgi buffer overflow, broadening the affected scope beyond DIR-645. ↗
  • ·The advisory was tested specifically against D-Link DIR-645 firmware 1.03B08; other products and firmware versions could also be vulnerable but were not verified. ↗

CVSS provenance

nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vulncheck4.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.