CVE-2018-18319: Code Injection

Published Oct 15, 2018
·
Updated

DISPUTED 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.

Affected Software

56 affected components
Asuswrt-merlin Project Rt-ac5300 Firmware<=380.70
Asuswrt-merlin Project Rt-ac5300
Asuswrt-merlin Project Rt Ac1900p Firmware<=380.70
Asuswrt-merlin Project Rt Ac1900p
Asuswrt-merlin Project Rt-ac68u Firmware<=380.70
Asuswrt-merlin Project Rt-ac68u
Asuswrt-merlin Project Rt-ac68p Firmware<=380.70
Asuswrt-merlin Project Rt-ac68p
Asuswrt-merlin Project Rt-ac88u Firmware<=380.70
Asuswrt-merlin Project Rt-ac88u
Asuswrt-merlin Project Rt-ac66u B1 Firmware<=380.70
Asuswrt-merlin Project Rt-ac66u B1
Asuswrt-merlin Project Rt-ac56u Firmware<=380.70
Asuswrt-merlin Project Rt-ac56u
Asuswrt-merlin Project Rt-ac3200 Firmware<=380.70
Asuswrt-merlin Project Rt-ac3200
Asuswrt-merlin Project Rt-ac68uf Firmware<=380.70
Asuswrt-merlin Project Rt-ac68uf
Asuswrt-merlin Project Rt-ac87 Firmware<=380.70
Asuswrt-merlin Project Rt-ac87
Asuswrt-merlin Project Rt-ac3100 Firmware<=380.70
Asuswrt-merlin Project Rt-ac3100
Asuswrt-merlin Project Rt-ac1900 Firmware<=380.70
Asuswrt-merlin Project Rt-ac1900
Asuswrt-merlin Project Rt-ac86u Firmware<=380.70
Asuswrt-merlin Project Rt-ac86u
Asuswrt-merlin Project Rt-ac2900 Firmware<=380.70
Asuswrt-merlin Project Rt-ac2900
All of the following
Asuswrt-merlin Project Rt-ac5300 Firmware<=380.70
Asuswrt-merlin Project Rt-ac5300
All of the following
Asuswrt-merlin Project Rt Ac1900p Firmware<=380.70
Asuswrt-merlin Project Rt Ac1900p
All of the following
Asuswrt-merlin Project Rt-ac68u Firmware<=380.70
Asuswrt-merlin Project Rt-ac68u
All of the following
Asuswrt-merlin Project Rt-ac68p Firmware<=380.70
Asuswrt-merlin Project Rt-ac68p
All of the following
Asuswrt-merlin Project Rt-ac88u Firmware<=380.70
Asuswrt-merlin Project Rt-ac88u
All of the following
Asuswrt-merlin Project Rt-ac66u B1 Firmware<=380.70
Asuswrt-merlin Project Rt-ac66u B1
All of the following
Asuswrt-merlin Project Rt-ac56u Firmware<=380.70
Asuswrt-merlin Project Rt-ac56u
All of the following
Asuswrt-merlin Project Rt-ac3200 Firmware<=380.70
Asuswrt-merlin Project Rt-ac3200
All of the following
Asuswrt-merlin Project Rt-ac68uf Firmware<=380.70
Asuswrt-merlin Project Rt-ac68uf
All of the following
Asuswrt-merlin Project Rt-ac87 Firmware<=380.70
Asuswrt-merlin Project Rt-ac87
All of the following
Asuswrt-merlin Project Rt-ac3100 Firmware<=380.70
Asuswrt-merlin Project Rt-ac3100
All of the following
Asuswrt-merlin Project Rt-ac1900 Firmware<=380.70
Asuswrt-merlin Project Rt-ac1900
All of the following
Asuswrt-merlin Project Rt-ac86u Firmware<=380.70
Asuswrt-merlin Project Rt-ac86u
All of the following
Asuswrt-merlin Project Rt-ac2900 Firmware<=380.70
Asuswrt-merlin Project Rt-ac2900

Event History

Oct 15, 2018
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Disputed
06:29 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-18319?

CVE-2018-18319 has been classified as a high severity vulnerability due to the ability of attackers to execute arbitrary commands on affected devices.

2

How do I fix CVE-2018-18319?

To mitigate CVE-2018-18319, users should upgrade their Asuswrt-Merlin firmware to the latest version beyond 380.70 where the vulnerability is patched.

3

Which devices are affected by CVE-2018-18319?

CVE-2018-18319 affects various Asuswrt-Merlin devices running firmware version up to 380.70, including RT-AC5300, RT-AC1900P, RT-AC68U, and several others.

4

What types of attacks can exploit CVE-2018-18319?

CVE-2018-18319 can be exploited to execute arbitrary commands remotely through unprotected API calls.

5

Is there a vendor response to CVE-2018-18319?

Yes, the vendor has indicated that the issues related to Merlin.PHP are disputed and users are advised to follow up for the latest guidance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203