Arbitrary file upload in Axis M1033-W

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

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.031 (87.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-9157: held from 0.032 to 0.031.

EPSS over last 30 days · oldest: 0.032 · newest: 0.031 · change: -0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-9157?
CVE-2018-9157 is a high-severity vulnerability in Axis M1033-W, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.5/10. Published 2018-04-01.
How severe is CVE-2018-9157?
High severity. CVSS v3 base score is 7.5 out of 10.