CVE DatabaseCVE-2013-5223
한국어 권고문 →
CVE-2013-52235.4/MEDIUMCISA KEVCWE-79CWE-79

D-Link DSL-2760U Gateway Multiple Parameter Cross-Site Scripting (XSS) Vulnerability (CVE-2013-5223)

⚡ Jump to Patch
Affected Vendors
d-link
Affected Components
dsl-2760u
Published Date
2013-11-19
CVSS v3.1
5.4
MEDIUM
EPSS (30d)
50.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

D-Link DSL-2760U Gateway (Rev. E1) hardware and firmware.

Impact

Remote authenticated attackers can inject arbitrary web script or HTML via multiple parameters, leading to administrator session hijacking and device compromise.

Mitigation

Apply the latest official firmware patches, disable external WAN management interfaces, and restrict access to trusted IP ranges.

Affected Products & Version Scope

Multiple CGI/script parameters within the web management interface of D-Link DSL-2760U Gateway (Rev. E1)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Since this device may be End-of-Life (EoL), upgrading to a supported hardware model is highly recommended. If a patch is available, perform a firmware upgrade via CLI as shown below:

bash
# Example: Downloading and applying firmware via TFTP
tftp -g -r dlink_dsl2760u_revE1_latest.bin <TFTP_SERVER_IP>
# Execute firmware upgrade (exact command may vary by CLI version)
sys upgrade dlink_dsl2760u_revE1_latest.bin

2. Temporary Workaround & Hardening Configuration

Ensure that the web management interface (HTTP/HTTPS) is not exposed to the public WAN interface. Restrict access to trusted internal IP addresses only.

bash
# Block web management ports (80, 443) on the WAN interface (ppp0)
iptables -A INPUT -i ppp0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i ppp0 -p tcp --dport 443 -j DROP

# Allow access only from the trusted internal subnet (e.g., 192.168.1.0/24)
iptables -A INPUT -i br0 -s 192.168.1.0/24 -p tcp --dport 80 -j ACCEPT

3. Log Audit & IoC Verification Commands

Scan the device configuration files or logs for potential script injection payloads containing common XSS vectors.

bash
# Search for common XSS payloads in the system configuration backup
grep -Ei '(script|iframe|onerror|onload|eval)' /var/config/sys_config.cfg
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Immediately disable WAN-side remote management on D-Link DSL-2760U devices and plan to decommission legacy EoL hardware.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2013-5223) is a collection of multiple cross-site scripting (XSS) flaws residing in the web-based management console of the D-Link DSL-2760U Gateway (Rev. E1). The root cause is the lack of proper input validation and output encoding on various parameters processed by administrative CGI scripts. Affected components include NTP configuration, DDNS management, URL filtering, port mapping, SNMP configuration, Samba sharing, and wireless SSID settings.

2. Exploitation Mechanics & Attack Scenario

An authenticated remote attacker can exploit these vulnerabilities by submitting malicious HTML or JavaScript payloads into vulnerable parameters such as smbNetBiosName in samba.cgi or wlSsid in wlcfg.wl. When another administrator navigates to the compromised configuration page, the injected script executes within the context of their browser session. Since this vulnerability is listed in the CISA KEV catalog, it has been actively exploited in the wild, often to recruit devices into botnets or perform unauthorized router configuration changes.

3. Infrastructure & Business Impact

Successful exploitation allows attackers to hijack administrative sessions, steal session cookies, and perform unauthorized actions with administrative privileges. This can lead to critical infrastructure compromise, such as altering DNS settings to redirect internal users to malicious sites, disabling firewall rules, or establishing a foothold for lateral movement within the internal local area network (LAN).

Official Vendor Advisories & References

NVD Original English Description

Multiple cross-site scripting (XSS) vulnerabilities in D-Link DSL-2760U Gateway (Rev. E1) allow remote authenticated users to inject arbitrary web script or HTML via the (1) ntpServer1 parameter to sntpcfg.cgi, username parameter to (2) ddnsmngr.cmd or (3) todmngr.tod, (4) TodUrlAdd parameter to urlfilter.cmd, (5) appName parameter to scprttrg.cmd, (6) fltName in an add action or (7) rmLst parameter in a remove action to scoutflt.cmd, (8) groupName parameter to portmapcfg.cmd, (9) snmpRoCommunity parameter to snmpconfig.cgi, (10) fltName parameter to scinflt.cmd, (11) PolicyName in an add action or (12) rmLst parameter in a remove action to prmngr.cmd, (13) ippName parameter to ippcfg.cmd, (14) smbNetBiosName or (15) smbDirName parameter to samba.cgi, or (16) wlSsid parameter to wlcfg.wl.

Frequently Asked SecOps Questions (CVE-2013-5223)

FAQ

Q1. How critical is CVE-2013-5223 and is it actively exploited in the wild?

CVE-2013-5223 is rated CVSS 5.4 (MEDIUM) with a 30-day EPSS exploitation probability of 50.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2013-5223?

Primary impacted vendors include d-link across dsl-2760u. Scope summary: Multiple CGI/script parameters within the web management interface of D-Link DSL-2760U Gateway (Rev. E1)

Q3. What temporary mitigations or workarounds exist for CVE-2013-5223 before patching?

[Mitigation] Apply the latest official firmware patches, disable external WAN management interfaces, and restrict access to trusted IP ranges. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2013-5223

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (d-link)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2013-5223 D-Link DSL-2760U Gateway Multiple Parameter Cross-Site Scripting (XSS) Vulnerability (CVE-2013-5223) (CVSS 5.4) - Patch & Workaround | CVE Pulse