{"id":"CVE-2018-18319","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-18319","generatedAt":"2026-10-28T21:21:47.621Z","title":"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.","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","published":"2018-10-15T06:29:01.000Z","lastModified":"2026-06-17T01:46:59.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["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"],"epss":{"score":0.05434,"percentile":0.92673,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"http://blog.51cto.com/010bjsoft/2298902","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/qoli/Merlin.PHP/issues/27","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://blog.51cto.com/010bjsoft/2298902","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/qoli/Merlin.PHP/issues/27","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18319","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}