Unauthenticated Remote Code Execution via Webshell Upload on AXIS P1354 IP Camera Firmware 5.90.1.1

Unauthenticated Remote Code Execution via Webshell Upload on AXIS P1354 IP Camera Firmware 5.90.1.1

CVE-2018-9156 · HIGH Severity

AV:N/AC:H/AU:N/C:C/I:C/A:C

An issue was discovered on AXIS P1354 (IP camera) Firmware version 5.90.1.1 devices. The upload web page doesn't verify the file type, and an attacker can upload a webshell by making a fileUpload.shtml request for a custom .shtml file, which is interpreted by the Apache HTTP Server mod_include module with "<!--#exec cmd=" support. The file needs to include a specific string to meet the internal system architecture. After the webshell upload, an attacker can use the webshell to perform remote code execution such as running a system command (ls, ping, cat /etc/passwd, etc.). NOTE: the vendor reportedly indicates that this is an intended feature or functionality

Learn more about our Cis Benchmark Audit For Apache Http Server.