The ofc_upload_image.php script in Open Flash Chart v2 Beta 1 through v2 Lug Wyrm Charmer, as used in Piwik 0.2.35 through 0.4.3, Woopra Analytics Plugin before 1.4.3.2, and possibly other products, contains an unrestricted file upload vulnerability. When PHP's register_globals is enabled, remote authenticated users can upload files with executable extensions via the 'name' parameter and supply code in the HTTP_RAW_POST_DATA parameter. The uploaded file is placed in the tmp-upload-images/ directory and can be accessed directly, allowing execution of arbitrary code on the server.
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 (4 hidden).
This repository contains a single Metasploit module (openemr_upload_exec.rb) that exploits a file upload vulnerability in OpenEMR 4.1.1. The exploit abuses the ofc_upload_image.php endpoint from the openflashchart library, which allows unauthenticated file uploads to the tmp-upload-images directory. The module uploads a PHP payload and then executes it, resulting in remote code execution on the target server. The exploit is weaponized, supporting customizable Metasploit payloads. The module includes version checking and endpoint validation logic, and is designed to work against OpenEMR 4.1.1 on Linux (tested on Ubuntu 10.04). The main attack vector is network-based, targeting HTTP endpoints exposed by the vulnerable OpenEMR installation.
This repository contains a single Metasploit module (open_flash_chart_upload_exec.rb) that exploits a file upload vulnerability in Open Flash Chart v2 and related applications (zonPHP, Piwik, OpenEMR). The exploit targets the 'ofc_upload_image.php' script, which allows unauthenticated users to upload arbitrary files to the server. The module uploads a PHP payload (provided by the Metasploit framework) and then executes it, resulting in remote code execution. The module supports configuration of the TARGETURI to adapt to different application paths. The exploit is operational and provides remote code execution capabilities. The main attack vector is via HTTP POST requests to the vulnerable upload script, and the main fingerprintable endpoint is the 'ofc_upload_image.php' file. The repository is structured as a typical Metasploit module, written in Ruby, and leverages Metasploit's HttpClient and FileDropper mixins for network communication and cleanup.
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.