CVE-2018-18319
An attacker can execute arbitrary commands because api.php has an eval call, as demonstrated by the /6/api.php?function=command&class=remote&Cc='ls' URI.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue was discovered in the Merlin.PHP component 0.6.6 for Asuswrt-Merlin devices. An attacker can execute arbitrary commands because api.php has an eval call, as demonstrated by the /6/api.php?function=command&class=remote&Cc='ls' URI. NOTE: the vendor indicates that Merlin.PHP is designed only for use on a trusted intranet network, and intentionally allows remote code execution
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.43% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- asuswrt-merlin project/rt-ac5300 firmware · asuswrt-merlin project/rt ac1900p firmware · asuswrt-merlin project/rt-ac68u firmware · asuswrt-merlin project/rt-ac68p firmware · asuswrt-merlin project/rt-ac88u firmware · asuswrt-merlin project/rt-ac66u b1 firmware · asuswrt-merlin project/rt-ac56u firmware · asuswrt-merlin project/rt-ac3200 firmware · asuswrt-merlin project/rt-ac68uf firmware · asuswrt-merlin project/rt-ac87 firmware · asuswrt-merlin project/rt-ac3100 firmware · asuswrt-merlin project/rt-ac1900 firmware · asuswrt-merlin project/rt-ac86u firmware · asuswrt-merlin project/rt-ac2900 firmware
- Source
- cve@mitre.org
References
- http://blog.51cto.com/010bjsoft/2298902Exploit, Third Party Advisory
- https://github.com/qoli/Merlin.PHP/issues/27Exploit, Third Party Advisory
- http://blog.51cto.com/010bjsoft/2298902Exploit, Third Party Advisory
- https://github.com/qoli/Merlin.PHP/issues/27Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.