Axis Communication P1354 IP Camera Remote Code Execution (CVE-2018-9156)

high Tenable OT Security Plugin ID 501936

Synopsis

The remote OT asset is affected by a vulnerability.

Description

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

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

https://www.slideshare.net/secret/aewA1dZwZ9FQ8g

Plugin Details

Severity: High

ID: 501936

Version: 1.3

Type: remote

Family: Tenable.ot

Published: 1/23/2024

Updated: 2/15/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2018-9156

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:axis:p1354_firmware:5.90.1.1

Required KB Items: Tenable.ot/AxisCommunication

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/1/2018

Vulnerability Publication Date: 4/1/2018

Reference Information

CVE: CVE-2018-9156

CWE: 434