Symantec Web Gateway ipchange.php Shell Command Injection (SYM12-006) (intrusive check)

high Nessus Plugin ID 59208

Synopsis

A web security application hosted on the remote web server has a command injection vulnerability.

Description

The remote web server is hosting a version of Symantec Web Gateway that is affected by a shell command injection vulnerability. The ipchange.php script calls the exec() function with user-controlled input that is not properly sanitized. A remote, unauthenticated attacker could exploit this to execute arbitrary shell commands as the apache user. After exploitation, obtaining a root shell is trivial.

Solution

Upgrade to Symantec Web Gateway version 5.0.3 or later.

See Also

https://www.tenable.com/security/research/tra-2012-03

https://www.zerodayinitiative.com/advisories/ZDI-12-090/

http://www.nessus.org/u?5b5929ae

Plugin Details

Severity: High

ID: 59208

File Name: symantec_web_gateway_ipchange_rce.nasl

Version: 1.31

Type: remote

Family: CGI abuses

Published: 5/21/2012

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

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

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

Vulnerability Information

CPE: cpe:/a:symantec:web_gateway

Required KB Items: www/symantec_web_gateway

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 5/17/2012

Vulnerability Publication Date: 5/17/2012

Exploitable With

CANVAS (D2ExploitPack)

Core Impact

Metasploit (Symantec Web Gateway 5.0.2.8 relfile File Inclusion Vulnerability)

Elliot (Symantec Web Gateway 5.0.2 RCE)

Reference Information

CVE: CVE-2012-0297

BID: 53444