CVE-2024-58258 is a vulnerability in SugarCRM versions prior to 13.0.4 and 14.0.1, specifically in the /css/preview REST API endpoint. The endpoint fails to properly sanitize user-supplied GET parameters, allowing remote, unauthenticated attackers to inject arbitrary LESS code. By leveraging the @import statement in LESS, attackers can trigger server-side requests to arbitrary URLs (SSRF) or read local files from the server, leading to sensitive information disclosure.
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 proof-of-concept exploit for CVE-2024-58258, a vulnerability in SugarCRM commercial editions prior to 13.0.4 and 14.0.1. The exploit targets the /rest/v10/css/preview API endpoint, which parses user-supplied input as LESS code without proper sanitization. By injecting a specially crafted LESS payload via the 'param' GET parameter, an unauthenticated attacker can trigger SSRF (Server-Side Request Forgery) to arbitrary URLs (including internal services) or read arbitrary files from the server's filesystem (Local File Disclosure). The repository consists of two files: a README.md with detailed vulnerability and usage information, and main.py, a Python script implementing the exploit. The script allows the user to specify a target SugarCRM URL and a file path or URL to access. It supports optional proxying, verbose output, and a test mode to check for vulnerability. The main exploit logic constructs a LESS payload that is URL-encoded and sent to the vulnerable endpoint. If successful, the script extracts and saves the retrieved content. No hardcoded IPs or external domains are present; the exploit is generic and allows the user to specify the target resource. The main fingerprintable endpoint is the /rest/v10/css/preview path on the target SugarCRM instance. The exploit is a proof-of-concept and does not include weaponized or automated post-exploitation features.
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.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
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.