CVE-2012-2957

Symantec Web Gateway <5.0.3.18 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-2957. PoCs published by muts.

AI-analyzed exploit summary This exploit leverages a Local File Inclusion (LFI) vulnerability in Symantec Web Gateway 5.0.3.18 to inject a base64-encoded reverse shell payload into the access log, which is then executed via a sudo misconfiguration on /tmp/networkScript, resulting in remote root command execution.

Description

The management console in Symantec Web Gateway 5.0.x before 5.0.3.18 allows local users to gain privileges by modifying files, related to a "file inclusion" issue.

Exploits (1)

exploitdb WORKING POC VERIFIED
by muts · pythonwebappslinux
https://www.exploit-db.com/exploits/20064

This exploit leverages a Local File Inclusion (LFI) vulnerability in Symantec Web Gateway 5.0.3.18 to inject a base64-encoded reverse shell payload into the access log, which is then executed via a sudo misconfiguration on /tmp/networkScript, resulting in remote root command execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Symantec Web Gateway 5.0.3.18
No auth needed
Prerequisites: Network access to the target · Target must have the vulnerable version of Symantec Web Gateway · Sudo misconfiguration allowing execution of /tmp/networkScript
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/77113
Third Party Advisory, US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/108471
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/54429

Scores

EPSS 0.5929
EPSS Percentile 99.0%

Details

CWE
CWE-264
Status published
Products (4)
symantec/web_gateway 5.0
symantec/web_gateway 5.0.1
symantec/web_gateway 5.0.2
symantec/web_gateway 5.0.3
Published Jul 23, 2012
Tracked Since Feb 18, 2026