CVE-2012-5613 describes a privilege escalation vulnerability in MySQL 5.5.19 and MariaDB 5.5.28a (and possibly other versions) where users with the FILE privilege can create files as the MySQL administrator. This occurs when the FILE privilege is assigned to users who should not have administrative rights, allowing them to write files to arbitrary locations on the server, potentially leading to privilege escalation or code execution. The vendor disputes this as a vulnerability, asserting it is a result of insecure configuration contrary to installation recommendations.
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 exploit module targeting a file privilege misconfiguration in Oracle MySQL running on Microsoft Windows (prior to Vista). The exploit leverages the ability to write arbitrary files via MySQL's DUMPFILE functionality, uploading a malicious Windows executable and a MOF (Managed Object Format) file to the System32 and wbem/mof directories, respectively. The MOF file triggers Windows Management Instrumentation (WMI) to execute the payload as SYSTEM, granting the attacker full control. The module requires valid MySQL credentials and only works if the MySQL service has sufficient privileges. The exploit is operational and allows for customizable payloads, typically resulting in a reverse shell or Meterpreter session. The main attack vector is network-based, exploiting MySQL's remote access. The code is written in Ruby and is structured as a standard Metasploit module.
This repository contains a single Metasploit module (modules/exploits/windows/mysql/mysql_start_up.rb) that exploits a misconfiguration in MySQL on Windows systems. The exploit abuses the FILE privilege to write a malicious executable payload to the All Users Start Up folder, ensuring the payload is executed on the next user login. The attacker must have valid MySQL credentials with FILE privilege. The module is operational and allows for customizable payloads (such as reverse shells) to be delivered and executed. The main attack vector is network-based, targeting MySQL services accessible over the network. The only fingerprintable endpoint is the Windows Start Up folder path, which is configurable but defaults to '/programdata/microsoft/windows/start menu/programs/startup/'. The exploit targets Oracle MySQL on Windows and is associated with CVE-2012-5613.
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.