Symantec Web Gateway upload_file() Remote Code Execution (SYM12-006) (intrusive check)

high Nessus Plugin ID 59210


A web security application hosted on the remote web server has a remote code execution vulnerability.


The remote web server is hosting a version of Symantec Web Gateway with a code execution vulnerability. The upload_file() function of util_functions.php allows PHP files to be uploaded to a directory where the web server can execute them. This function is used by multiple PHP scripts that can be requested without authentication. A remote, unauthenticated attacker could exploit this to execute arbitrary code.
Achieving root command execution is trivial.


Upgrade to Symantec Web Gateway 5.0.3 or later.

See Also

Plugin Details

Severity: High

ID: 59210

File Name: symantec_web_gateway_upload_file_rce.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 5/21/2012

Updated: 1/19/2021

Risk Information


Risk Factor: High

Score: 7.4


Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

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


Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

Temporal Vector: E:F/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

Core Impact

Metasploit (Symantec Web Gateway Arbitrary PHP File Upload Vulnerability)

Elliot (Symantec Web Gateway 5.0.2 File Upload)

Reference Information

CVE: CVE-2012-0299

BID: 53443