Arbitrary Command Execution in Merlin.PHP Component 0.6.6 for Asuswrt-Merlin Devices

Arbitrary Command Execution in Merlin.PHP Component 0.6.6 for Asuswrt-Merlin Devices

CVE-2018-18319 · HIGH Severity

AV:N/AC:L/AU:N/C:P/I:P/A:P

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

Learn more about our Api Penetration Testing.