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

critical Nessus Plugin ID 59208
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 8.9


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


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.


Upgrade to Symantec Web Gateway version 5.0.3 or later.

See Also

Plugin Details

Severity: Critical

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

Dependencies: symantec_web_gateway_detect.nasl

Risk Information

Risk Factor: Critical

VPR Score: 8.9

CVSS v2.0

Base Score: 10

Temporal Score: 8.7

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

Temporal Vector: E:H/RL:OF/RC:C

CVSS v3.0

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: 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 relfile File Inclusion Vulnerability)

Elliot (Symantec Web Gateway 5.0.2 RCE)

Reference Information

CVE: CVE-2012-0297

BID: 53444

TRA: TRA-2012-03

EDB-ID: 19065