In Mantis before version 1.1.4, the manage_proj_page.php script allows remote authenticated users to execute arbitrary PHP code by supplying a specially crafted 'sort' parameter. This parameter is passed to the multi_sort function in core/utility_api.php, which uses create_function to dynamically generate PHP code, leading to code execution if the input is not properly sanitized.
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.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module (Ruby file) that exploits a post-authentication remote code execution vulnerability (CVE-2008-4687) in Mantis Bug Tracker versions 1.1.3 and earlier. The exploit targets the 'sort' parameter of the manage_proj_page.php page, allowing an authenticated attacker to inject and execute arbitrary PHP code. The module requires valid credentials and the path to the Mantis installation. It first checks the version of Mantis, logs in using provided credentials, and then sends a specially crafted POST request to the vulnerable endpoint with a payload that executes PHP code supplied via the HTTP 'Cmd' header. The structure of the repository is typical for a Metasploit module, with all logic contained in a single Ruby file under the appropriate modules/exploits path. The exploit is operational, providing remote code execution capabilities, and is suitable for use in penetration testing or red teaming engagements against vulnerable Mantis installations.
This repository contains a Python exploit script (exploitFINAL.py) targeting Mantis Bug Tracker versions prior to 1.2.x, specifically exploiting CVE-2008-4687. The exploit works by logging into the target Mantis instance using provided credentials, collecting session cookies, and then sending a specially crafted GET request to the 'manage_proj_page.php' endpoint. This request injects PHP code that executes a base64-decoded command from a custom HTTP header, which is used to trigger a reverse shell back to the attacker's machine. The payload is a bash reverse shell, and the attacker must set up a listener to catch the shell. The README.md provides a brief description and references the relevant CVE. The exploit requires network access to the target and valid credentials, and is operational with a hardcoded payload.
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.