CVE-2018-9285
published 2018-04-04CVE-2018-9285: Main_Analysis_Content.asp in /apply.cgi on ASUS RT-AC66U, RT-AC68U, RT-AC86U, RT-AC88U, RT-AC1900, RT-AC2900, and RT-AC3100 devices before 3.0.0.4.384_10007…
PriorityP279critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
3.61%
88.2th percentile
Main_Analysis_Content.asp in /apply.cgi on ASUS RT-AC66U, RT-AC68U, RT-AC86U, RT-AC88U, RT-AC1900, RT-AC2900, and RT-AC3100 devices before 3.0.0.4.384_10007; RT-N18U devices before 3.0.0.4.382.39935; RT-AC87U and RT-AC3200 devices before 3.0.0.4.382.50010; and RT-AC5300 devices before 3.0.0.4.384.20287 allows OS command injection via the pingCNT and destIP fields of the SystemCmd variable.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| asus | rt-ac1900_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac2900_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac3100_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac3200_firmware | < 3.0.0.4.382.50010 | 3.0.0.4.382.50010 |
| asus | rt-ac5300_firmware | < 3.0.0.4.384.20287 | 3.0.0.4.384.20287 |
| asus | rt-ac66u_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac68u_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac86u_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-ac87u_firmware | < 3.0.0.4.382.50010 | 3.0.0.4.382.50010 |
| asus | rt-ac88u_firmware | < 3.0.0.4.384.10007 | 3.0.0.4.384.10007 |
| asus | rt-n18u_firmware | < 3.0.0.4.382.39935 | 3.0.0.4.382.39935 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor HTTP requests to /apply.cgi containing the 'SystemCmd' parameter with percent-encoded newline characters (%0a) used to inject OS commands, bypassing server-side filtering. ↗
- →Alert on HTTP Cookie header being exfiltrated or replayed in requests to /apply.cgi — exploitation requires a valid authentication token passed in the HTTP Cookie header. ↗
- →Look for outbound wget requests from ASUS router IPs to attacker-controlled hosts, followed by chmod and execution of a dropped ELF binary in /tmp — indicative of post-exploitation payload staging. ↗
- →Inspect the 'pingCNT' and 'destIP' input fields in requests to /apply.cgi for injected shell metacharacters — these are the source fields used to construct the malicious SystemCmd variable. ↗
- ·Exploitation requires the attacker to be authenticated — a valid session/auth token must be obtained first (e.g., via credential theft or CSRF). Unauthenticated scanning will not trigger the vulnerability. ↗
- ·The Metasploit module targets ASUS TM-AC1900 specifically and exploits a bypass of the original CVE-2018-9285 patch via %0a encoding; other ASUS models may behave differently. ↗
- ·The vulnerability is considered a regression — it was inadvertently reintroduced in a prior firmware version, so devices on intermediate firmware versions between patched releases may also be vulnerable. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck9.8CRITICAL
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.
GHSA
GHSA-8g7r-fwgg-5qfg: Main_Analysis_Content
ghsa_unreviewed·2022-05-13
CVE-2018-9285 [CRITICAL] CWE-78 GHSA-8g7r-fwgg-5qfg: Main_Analysis_Content
Main_Analysis_Content.asp in /apply.cgi on ASUS RT-AC66U, RT-AC68U, RT-AC86U, RT-AC88U, RT-AC1900, RT-AC2900, and RT-AC3100 devices before 3.0.0.4.384_10007; RT-N18U devices before 3.0.0.4.382.39935; RT-AC87U and RT-AC3200 devices before 3.0.0.4.382.50010; and RT-AC5300 devices before 3.0.0.4.384.20287 allows OS command injection via the pingCNT and destIP fields of the SystemCmd variable.
VulnCheck
ASUS rt-ac66u_firmware Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
vulncheck·2018·CVSS 9.8
CVE-2018-9285 [CRITICAL] ASUS rt-ac66u_firmware Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
ASUS rt-ac66u_firmware Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Main_Analysis_Content.asp in /apply.cgi on ASUS RT-AC66U, RT-AC68U, RT-AC86U, RT-AC88U, RT-AC1900, RT-AC2900, and RT-AC3100 devices before 3.0.0.4.384_10007; RT-N18U devices before 3.0.0.4.382.39935; RT-AC87U and RT-AC3200 devices before 3.0.0.4.382.50010; and RT-AC5300 devices before 3.0.0.4.384.20287 allows OS command injection via the pingCNT and destIP fields of the SystemCmd variable.
Affected: ASUS rt-ac66u_firmware
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://web.archive.org/web/20200319160240/https://labs.bitdefender.com/202
No detection rules found.
http://packetstormsecurity.com/files/160049/ASUS-TM-AC1900-Arbitrary-Command-Execution.htmlhttps://fortiguard.com/zeroday/FG-VD-17-216https://www.fortinet.com/blog/threat-research/fortiguard-labs-discovers-vulnerability-in-asus-router.htmlhttp://packetstormsecurity.com/files/160049/ASUS-TM-AC1900-Arbitrary-Command-Execution.htmlhttps://fortiguard.com/zeroday/FG-VD-17-216https://www.fortinet.com/blog/threat-research/fortiguard-labs-discovers-vulnerability-in-asus-router.html
2018-04-04
Published
Exploited in the wild