CVE-2024-50526 is an Unrestricted Upload of File with Dangerous Type vulnerability in the mahlamusa Multi Purpose Mail Form component/plugin affecting versions through 1.0.2. The upload functionality does not sufficiently restrict dangerous file types, enabling an attacker to upload a server-executable payload (e.g., a PHP web shell) to the web server, which can then be invoked to execute attacker-controlled code in the context of the web server process.
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.
Repository contains an operational Python exploit (CVE-2024-50526.py) plus a full copy of the vulnerable WordPress plugin source (Multi Purpose Mail Form v1.0.2) under plugin/1.0.2/ (including .svn artifacts). Exploit purpose/capabilities: - Unauthenticated arbitrary file upload to a WordPress site running the vulnerable Multi Purpose Mail Form plugin, leading to remote code execution. - Sends a multipart/form-data POST to a user-supplied form endpoint (--target) with a file field named file1 containing a PHP webshell named cmd.php. - Assumes the uploaded file becomes web-accessible at /wp-content/uploads/mpmf_uploads/cmd.php. - Performs a basic “verification” by printing the assumed payload URL (note: it does not actually request-check existence before claiming success; it only checks the original POST status code). - Fetches the payload URL to infer OS from php_uname('s') output and then provides an interactive loop that executes arbitrary commands via GET parameter cmd. Notable implementation details: - Hardcoded HTTP headers include Host: localhost and Origin: http://localhost, which may reduce reliability against real targets unless the server ignores these headers. - The exploit requires the attacker to provide the correct form identifier value via --form-name (mapped to POST parameter form_name). Repository structure: - CVE-2024-50526.py: main exploit entry point (Python, uses requests + argparse). - README.md: describes the exploit as a PoC for unauthenticated file upload leading to RCE and shows usage. - plugin/1.0.2/: WordPress plugin codebase (PHP/JS/CSS) for Multi Purpose Mail Form, including admin and public components, upload directory creation (WP_CONTENT_DIR/uploads/mpmf_uploads), and bundled reCAPTCHA library. The presence of .svn/pristine files suggests the plugin directory was copied from an SVN working copy. Overall, this repo is primarily an exploit PoC with a built-in PHP webshell payload and an interactive command execution interface, targeting WordPress sites running the vulnerable Multi Purpose Mail Form plugin.
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.