9.8
CRITICAL
CVE-2018-18319
Asuswrt-Merlin Remote Code Execution Vulnerability
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

INFO

Published Date :

Oct. 15, 2018, 6:29 a.m.

Last Modified :

Nov. 21, 2024, 3:55 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-18319 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Asuswrt-merlin_project rt-ac5300_firmware
2 Asuswrt-merlin_project rt_ac1900p_firmware
3 Asuswrt-merlin_project rt-ac68u_firmware
4 Asuswrt-merlin_project rt-ac68p_firmware
5 Asuswrt-merlin_project rt-ac88u_firmware
6 Asuswrt-merlin_project rt-ac66u_b1_firmware
7 Asuswrt-merlin_project rt-ac56u_firmware
8 Asuswrt-merlin_project rt-ac3200_firmware
9 Asuswrt-merlin_project rt-ac3100_firmware
10 Asuswrt-merlin_project rt-ac68uf_firmware
11 Asuswrt-merlin_project rt-ac87_firmware
12 Asuswrt-merlin_project rt-ac1900_firmware
13 Asuswrt-merlin_project rt-ac86u_firmware
14 Asuswrt-merlin_project rt-ac2900_firmware
15 Asuswrt-merlin_project rt-ac5300
16 Asuswrt-merlin_project rt_ac1900p_
17 Asuswrt-merlin_project rt-ac68u
18 Asuswrt-merlin_project rt-ac68p
19 Asuswrt-merlin_project rt-ac88u
20 Asuswrt-merlin_project rt-ac66u_b1
21 Asuswrt-merlin_project rt-ac56u
22 Asuswrt-merlin_project rt-ac3200
23 Asuswrt-merlin_project rt-ac68uf
24 Asuswrt-merlin_project rt-ac87
25 Asuswrt-merlin_project rt-ac3100
26 Asuswrt-merlin_project rt-ac1900
27 Asuswrt-merlin_project rt-ac86u
28 Asuswrt-merlin_project rt-ac2900
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-18319.

URL Resource
http://blog.51cto.com/010bjsoft/2298902 Exploit Third Party Advisory
https://github.com/qoli/Merlin.PHP/issues/27 Exploit Third Party Advisory
http://blog.51cto.com/010bjsoft/2298902 Exploit Third Party Advisory
https://github.com/qoli/Merlin.PHP/issues/27 Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-18319 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-18319 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 05, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** 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. 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
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-20 CWE-94
  • Initial Analysis by [email protected]

    Jan. 09, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://blog.51cto.com/010bjsoft/2298902 No Types Assigned http://blog.51cto.com/010bjsoft/2298902 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/qoli/Merlin.PHP/issues/27 No Types Assigned https://github.com/qoli/Merlin.PHP/issues/27 Exploit, Third Party Advisory
    Added CWE CWE-20
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac5300_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac5300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt_ac1900p_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt_ac1900p_:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac68u_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac68u:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac68p_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac68p:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac88u_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac88u:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac66u_b1_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac66u_b1:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac56u_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac56u:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac3200_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac3200:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac68uf_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac68uf:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac87_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac87:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac3100_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac3100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac1900_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac1900:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac86u_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac86u:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:asuswrt-merlin_project:rt-ac2900_firmware:*:*:*:*:*:*:*:* versions up to (including) 380.70 OR cpe:2.3:h:asuswrt-merlin_project:rt-ac2900:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-18319 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-18319 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.89 }} -0.37%

score

0.82891

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability