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

high Nessus Plugin ID 59208


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: 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

Risk Information


Risk Factor: High

Score: 8.9


Risk Factor: Critical

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


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: 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