RCE in Asuswrt-Merlin Project Rt-Ac1900

CVE-2018-18319

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

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.054 (91.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-18319?
CVE-2018-18319 is a critical-severity vulnerability in Asuswrt-Merlin Project Rt-Ac1900, classified under Code Injection. CVSS score: 9.8/10. Published 2018-10-15.
How severe is CVE-2018-18319?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2018-18319 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.