A command injection vulnerability exists in Coppermine Photo Gallery (CPG) before version 1.4.15, specifically in the include/imageObjectIM.class.php file. When the ImageMagick picture processing method is enabled, the application fails to properly sanitize user-supplied input in the 'quality', 'angle', and 'clipval' parameters passed to picEditor.php. This allows remote attackers to inject and execute arbitrary shell commands on the server via shell metacharacters in these parameters.
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 command execution vulnerability in Coppermine Photo Gallery (CVE-2008-0506). The exploit abuses improper input sanitization in the 'angle' parameter of picEditor.php when Coppermine is configured to use ImageMagick. The module sends a crafted POST request to /picEditor.php, injecting arbitrary shell commands via the 'angle' parameter. The payload is provided by the Metasploit framework and executed as the web server user. The exploit requires knowledge of the Coppermine installation path (default: /cpg1414) and that the target is running a vulnerable version with ImageMagick enabled. The code is weaponized, allowing for customizable payloads and automated exploitation. The only fingerprintable endpoints are the vulnerable /picEditor.php script and the default installation path. The repository is structured as a single Ruby file compatible with the Metasploit framework.
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.