Sophos Web Appliance versions before 3.7.9.1 and versions 3.8 before 3.8.1.1 contain an OS command injection vulnerability in the close_connections function of clear_keys.pl. Shell metacharacters supplied in the function's second argument are interpreted by a shell, enabling a local user to gain elevated privileges.
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 (1 hidden).
This repository contains a single Metasploit module (modules/exploits/linux/local/sophos_wpa_clear_keys.rb) that exploits a local privilege escalation vulnerability (CVE-2013-4984) in the Sophos Web Protection Appliance (WPA), specifically targeting the clear_keys.pl script. The exploit leverages a command injection flaw in clear_keys.pl to execute arbitrary code as root, provided the attacker has access as the 'spiderman' user. The module checks for the presence of the vulnerable script, ensures the current user is 'spiderman', writes a Metasploit-generated Linux x86 payload to a writable directory (default: /tmp), and triggers the vulnerability to execute the payload as root. The exploit is operational and allows for customizable payloads, such as a shell or meterpreter session. The main fingerprintable endpoints are the path to the vulnerable script (/opt/cma/bin/clear_keys.pl) and the writable directory used for payload deployment (/tmp). The module is intended for post-exploitation scenarios on Sophos WPA systems.
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.