CVE-2014-7285 is an OS command injection vulnerability in the /spywall/restore.php script of Symantec Web Gateway (SWG) versions prior to 5.2.2. The vulnerability arises from insufficient sanitization of user-supplied input (specifically, the filename of uploaded files), which is passed directly to syscall() in PHP. This allows authenticated remote attackers to inject and execute arbitrary operating system commands as root. In version 5.1.1, any authenticated user could exploit the flaw, while in 5.2.1, only administrator users could exploit it due to improved authorization checks. The vulnerability was fixed in version 5.2.2.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module targeting a post-authentication command injection vulnerability (CVE-2014-7285) in Symantec Web Gateway 5.x. The exploit abuses the restore.php endpoint, where the filename parameter in a multipart/form-data POST request is not properly sanitized, allowing arbitrary command execution as the HTTP service user. The module requires valid credentials (user or admin, depending on version) and interacts with the web interface over HTTPS (default port 443). The payload is injected via the filename field and is typically a Python-based command, leveraging Metasploit's cmd/unix payloads. The module is operational and can be used to gain remote command execution on vulnerable Symantec Web Gateway appliances. The code is written in Ruby and follows standard Metasploit module structure, with clear separation of login, payload construction, and exploitation logic. Key endpoints targeted are /spywall/login.php for authentication and /spywall/restore.php for exploitation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.