CVE-2018-9157

An issue was discovered on AXIS M1033-W (IP camera) Firmware version 5.40.5.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
References
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:axis:m1033-w_firmware:5.40.5.1:*:*:*:*:*:*:*
cpe:2.3:h:axis:m1033-w:-:*:*:*:*:*:*:*

History

21 Nov 2024, 04:15

Type Values Removed Values Added
References () https://www.slideshare.net/secret/pRWQOOe6rN8Iyb - Third Party Advisory () https://www.slideshare.net/secret/pRWQOOe6rN8Iyb - Third Party Advisory

07 Nov 2023, 03:01

Type Values Removed Values Added
Summary ** DISPUTED ** An issue was discovered on AXIS M1033-W (IP camera) Firmware version 5.40.5.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. An issue was discovered on AXIS M1033-W (IP camera) Firmware version 5.40.5.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

Information

Published : 2018-04-01 18:29

Updated : 2024-11-21 04:15


NVD link : CVE-2018-9157

Mitre link : CVE-2018-9157

CVE.ORG link : CVE-2018-9157


JSON object : View

Products Affected

axis

  • m1033-w_firmware
  • m1033-w
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type