{"id":"CVE-2018-18319","state":"PUBLISHED","title":"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 b","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","publishedAt":"2018-10-15T06:00:00.000Z","updatedAt":"2024-09-16T16:28:44.054Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://blog.51cto.com/010bjsoft/2298902","https://github.com/qoli/Merlin.PHP/issues/27"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:30.448Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/18xxx/CVE-2018-18319.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-18319","state":"PUBLISHED","datePublished":"2018-10-15T06:00:00.000Z","dateUpdated":"2024-09-16T16:28:44.054Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-10-15T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://blog.51cto.com/010bjsoft/2298902","tags":["x_refsource_MISC"]},{"url":"https://github.com/qoli/Merlin.PHP/issues/27","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-15T06:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-18319","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://blog.51cto.com/010bjsoft/2298902","refsource":"MISC","url":"http://blog.51cto.com/010bjsoft/2298902"},{"name":"https://github.com/qoli/Merlin.PHP/issues/27","refsource":"MISC","url":"https://github.com/qoli/Merlin.PHP/issues/27"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://blog.51cto.com/010bjsoft/2298902","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/qoli/Merlin.PHP/issues/27","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:08:21.359Z"}}]}}}