← Vulnerability feed

Vulnerability record · CVE-2018-18319 · published 15 October 2018

CVE-2018-18319: Asuswrt-merlin project rt-ac5300 firmware code injection vulnerability

Asuswrt Merlin Project · Rt Ac5300 Firmware

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

9.8 CVSS 3.0 Critical EPSS 5.4% · top 7.6% CWE-94 · Code injection
9.8CVSS 3.0 base score, v2 7.5
5.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
14Affected product versions listed by NVD
4References, 4 tagged exploit
17 Jun 2026Last modified by NVD

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/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

14 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blog.51cto.com/010bjsoft/2298902 ExploitThird Party Advisory
https://github.com/qoli/Merlin.PHP/issues/27 ExploitThird Party Advisory
http://blog.51cto.com/010bjsoft/2298902 ExploitThird Party Advisory
https://github.com/qoli/Merlin.PHP/issues/27 ExploitThird Party Advisory

Track CVE-2018-18319 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-18320Asuswrt-merlin project rt-ac5300 firmware vulnerabilityAn issue was discovered in the Merlin.PHP component 0.6.6 for Asuswrt-Merlin devices. An attacker can execute arbitrary commands because exec.php has…EPSS 5.2%9.8CVE-2017-11420Asuswrt-merlin project rt-ac5300 firmware memory buffer overflow vulnerabilityStack-based buffer overflow in ASUS_Discovery.c in networkmap in Asuswrt-Merlin firmware for ASUS devices and ASUS firmware for ASUS RT-AC5300, RT_AC…EPSS 5.6%7.8CVE-2017-11344Asuswrt-merlin project rt-ac5300 firmware memory buffer overflow vulnerabilityGlobal buffer overflow in networkmap in Asuswrt-Merlin firmware for ASUS devices and ASUS firmware for ASUS RT-AC5300, RT_AC1900P, RT-AC68U, RT-AC68P…EPSS 2.8%7.8CVE-2017-11345Asuswrt-merlin project rt-ac5300 firmware memory buffer overflow vulnerabilityStack buffer overflow in networkmap in Asuswrt-Merlin firmware for ASUS devices and ASUS firmware for ASUS RT-AC5300, RT_AC1900P, RT-AC68U, RT-AC68P,…EPSS 1.8%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed9.4CVE-2025-62593Ray browser-based RCE via insufficient User-Agent guardRay, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on …KEVEPSS 62%analysed

Source: NIST National Vulnerability Database (record CVE-2018-18319), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.