SugarCRM Community Edition versions 6.3.1 and earlier contain scripts that invoke the PHP function unserialize() on user-controlled input. This allows remote attackers to inject arbitrary PHP objects, potentially leading to arbitrary code execution if a suitable gadget chain is present in the application or its dependencies.
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 targeting a PHP unserialize() vulnerability (CVE-2012-0694) in SugarCRM versions 6.3.1 and earlier. The exploit requires valid user credentials and abuses the 'current_query_by_page' parameter in a POST request to 'index.php', triggering a vulnerable unserialize() call in the application. The module crafts a serialized payload that leverages the SugarTheme class's __destruct() method to write a malicious PHP file ('pathCache.php') to the web root. The attacker can then execute arbitrary PHP code by sending a GET request to this file with a base64-encoded payload in the 'Cmd' HTTP header. The module includes cleanup functionality to remove the malicious file after exploitation. The code is written in Ruby and is structured as a standard Metasploit exploit module, making use of the HttpClient mixin for network communication. The main entry point is the 'exploit' method, which handles authentication, exploitation, and payload execution. No hardcoded IPs or external domains are present; all endpoints are relative to the target's web application path.
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.