CVE-2016-5734 is a code injection vulnerability in phpMyAdmin affecting 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3. phpMyAdmin does not properly choose delimiters intended to prevent abuse of the preg_replace /e modifier, which causes evaluated replacement content to be interpreted as PHP code. The issue is reachable through crafted input to the table search-and-replace functionality, allowing attacker-controlled strings to trigger PHP code execution 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.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module: 'phpmyadmin_null_termination_exec.rb', which exploits an authenticated remote code execution vulnerability (CVE-2016-5734) in phpMyAdmin versions 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3. The exploit leverages improper delimiter handling in the preg_replace function, allowing an authenticated attacker to execute arbitrary PHP code via a crafted search-and-replace operation. The module requires valid phpMyAdmin credentials and the path to an existing database. It performs authentication, creates a temporary table, and then abuses the search-and-replace feature to inject and execute a PHP payload. The exploit is operational and allows for arbitrary PHP code execution, with payloads provided by the Metasploit framework. The main endpoints targeted are typical phpMyAdmin HTTP endpoints such as /phpmyadmin/, /js/messages.php, /index.php, /import.php, and /tbl_find_replace.php. The code is written in Ruby and is structured as a standard Metasploit exploit module.
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.