CVE-2019-20499
published 2020-03-05CVE-2019-20499: D-Link DWL-2600AP 4.2.0.15 Rev A devices have an authenticated OS command injection vulnerability via the Restore Configuration functionality in the Web…
PriorityP269high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EXPLOIT
EPSS
96.64%
99.9th percentile
D-Link DWL-2600AP 4.2.0.15 Rev A devices have an authenticated OS command injection vulnerability via the Restore Configuration functionality in the Web interface, using shell metacharacters in the admin.cgi?action=config_restore configRestore or configServerip parameter.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dlink | dwl-2600ap_firmware | <= 4.2.0.15 | — |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link DWL-2600AP Command Injection Attempt (CVE-2019-20499, CVE-2019-20500, CVE-2019-20501)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin.cgi|3f|action|3d|"; startswith; fast_pattern; pcre:"/^(?:upgrade|config_(?:save|restore))$/R"; http.request_body; pcre:"/(?:firmware(?:Serverip|Restore)|config(?:Backup|Restore|Serverip)|downloadServerip)[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/P"; reference:cve,2019-20499; reference:cve,2019-20500; reference:cve,2019-20501; reference:url,unit42.paloaltonetworks.com/mirai-variant-targets-iot-exploits/; reference:url,www.exploit-db.com/exploits/46841; classtype:attempted-admin; sid:2057317; rev:1; metadata:attack_target Networking_Equipment, tls_state plaintext, created_at 2024_11_07, cve CVE_2019_20499, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2024_11_07; target:dest_ip;)
- →Exploit targets POST requests to /admin.cgi with action parameter set to config_restore, config_save, or upgrade; shell metacharacters (;, |, `, $, newline) are injected into the form-data fields configRestore, configServerip, configBackup, downloadServerip, firmwareRestore, or firmwareServerip. ↗
- →The Snort/ET rule body regex matches shell metacharacter injection in POST body parameters: semicolon (%3B/;), newline (%0A), backtick (%60), pipe (%7C), or dollar sign (%24) following the vulnerable parameter names.
- →The Metasploit module extracts a session token from the login response body using the JavaScript variable pattern 'var cookieValue = "' and sets it as the sessionHTTP cookie for subsequent exploit requests. ↗
- →Authentication to the device uses POST to /admin.cgi with form fields i_username, i_password, and login=Logon; default credentials are admin/admin. ↗
- →The exploit uses multipart/form-data with an optprotocol field set to 'up' alongside the injected parameter; this combination in a POST to /admin.cgi is a strong indicator of exploitation. ↗
- →The Metasploit module uses wget-based CmdStager (CmdStagerFlavor :wget) targeting Linux MIPS little-endian architecture, so look for wget-based payload delivery on MIPS devices. ↗
- ·Exploitation requires prior authentication; the attacker must possess valid credentials (default: admin/admin) before injecting commands. ↗
- ·The ET Snort rule (sid:2057317) is marked tls_state plaintext, meaning it will not detect exploitation over HTTPS/TLS-encrypted sessions.
- ·The injected commands run as root on the device, as confirmed by the PoC response showing root in /var/passwd; any detection or response should treat this as a full device compromise. ↗
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
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.
Suricata
ET WEB_SPECIFIC_APPS D-Link DWL-2600AP Command Injection Attempt (CVE-2019-20499, CVE-2019-20500, CVE-2019-20501)
suricata·2024-11-07·CVSS 7.8
CVE-2019-20499 [HIGH] ET WEB_SPECIFIC_APPS D-Link DWL-2600AP Command Injection Attempt (CVE-2019-20499, CVE-2019-20500, CVE-2019-20501)
ET WEB_SPECIFIC_APPS D-Link DWL-2600AP Command Injection Attempt (CVE-2019-20499, CVE-2019-20500, CVE-2019-20501)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link DWL-2600AP Command Injection Attempt (CVE-2019-20499, CVE-2019-20500, CVE-2019-20501)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin.cgi|3f|action|3d|"; startswith; fast_pattern; pcre:"/^(?:upgrade|config_(?:save|restore))$/R"; http.request_body; pcre:"/(?:firmware(?:Serverip|Restore)|config(?:Backup|Restore|Serverip)|downloadServerip)[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/P"; reference:cve,2019-20499; reference:cve,2019-20500; reference:cve,2019-20501; reference:url,unit42.paloaltonetworks.com/mirai-variant-targets-
Exploit-DB
DLINK DWL-2600 - Authenticated Remote Command Injection (Metasploit)
exploitdb·2020-03-31
CVE-2019-20499 DLINK DWL-2600 - Authenticated Remote Command Injection (Metasploit)
DLINK DWL-2600 - Authenticated Remote Command Injection (Metasploit)
---
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule 'DLINK DWL-2600 Authenticated Remote Command Injection',
'Description' => %q{
Some DLINK Access Points are vulnerable to an authenticated OS command injection.
Default credentials for the web interface are admin/admin.
},
'Author' =>
[
'RAKI BEN HAMOUDA', # Vulnerability discovery and original research
'Nick Starke' # Metasploit Module
],
'License' => MSF_LICENSE,
'References' =>
[
[ 'CVE', '2019-20499' ],
[ 'EDB', '46841' ]
],
'DisclosureDate' => 'May 15 2019',
'Privileged' => true,
'Platform' => %w{ linux unix },
'Payload' =>
{
'DisableNops' => true,
'Bad
Exploit-DB
D-Link DWL-2600AP - Multiple OS Command Injection
exploitdb·2019-05-14·CVSS 7.8
CVE-2019-20499 [HIGH] D-Link DWL-2600AP - Multiple OS Command Injection
D-Link DWL-2600AP - Multiple OS Command Injection
---
Document Title:
D-Link DWL-2600AP - (Authenticated) OS Command Injection (Restore Configuration)
Product & Service Introduction:
The D-Link DWL-2600AP has a web interface for configuration. You can use any web browser you like to login to the D-Link DWL-2600AP.
Affected Product(s):
Product: D-Link DWL-2600AP (Web Interface)
Exploitation Technique:
Local
Severity Level:
HIGH
CVE: CVE-2019-20499
CVE: CVE-2019-20500
CVE: CVE-2019-20501
Base Score (CVSS):
7.8
Request Method(s):
[+] POST
URL Path :
[+] /admin.cgi?action=config_restore
Vulnerable POST Form Data Parameter:
[+] configRestore
[+] configServerip
Device Firmware version :
[+] 4.2.0.15
Hardware Version :
[+] A1
Device name :
[+] D-Link AP
Product Identifier :
[+] W
Metasploit
DLINK DWL-2600 Authenticated Remote Command Injection
metasploit
DLINK DWL-2600 Authenticated Remote Command Injection
DLINK DWL-2600 Authenticated Remote Command Injection
Some DLINK Access Points are vulnerable to an authenticated OS command injection. Default credentials for the web interface are admin/admin.
No writeups or analysis indexed.
http://packetstormsecurity.com/files/156952/DLINK-DWL-2600-Authenticated-Remote-Command-Injection.htmlhttps://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10113https://www.exploit-db.com/exploits/46841http://packetstormsecurity.com/files/156952/DLINK-DWL-2600-Authenticated-Remote-Command-Injection.htmlhttps://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10113https://www.exploit-db.com/exploits/46841
2020-03-05
Published