CVE-2012-6329 is an improper code-generation vulnerability in Perl's Locale::Maketext implementation before 5.17.7. Its bracket-notation compilation logic improperly handles backslashes and fully qualified method names, enabling crafted translation strings to alter the code or method invocation generated during message-template compilation. Applications that process user-controlled translation content can therefore expose arbitrary command execution. Affected examples include TWiki before 5.1.3 and Foswiki 1.0.x through 1.0.10 and 1.1.x through 1.1.6.
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.
This repository contains a single Metasploit module (modules/exploits/unix/webapp/foswiki_maketext.rb) that exploits a remote command execution vulnerability in Foswiki (CVE-2012-6329). The exploit targets the MAKETEXT variable, which is unsafely passed to Perl's eval, allowing arbitrary shell command execution. The module supports both authenticated and anonymous attacks, depending on the target's configuration. It interacts with the Foswiki web application via HTTP endpoints such as /bin/login, /bin/edit, and /bin/save to authenticate, retrieve necessary tokens, inject the payload, and trigger execution. The payload is customizable and allows execution of arbitrary shell commands as the web server user. The exploit is operational and has been tested against Foswiki 1.1.5. The repository is structured as a typical Metasploit module, written in Ruby, and leverages the Metasploit framework's payload and HTTP client capabilities.
This repository contains a single Metasploit module (modules/exploits/unix/webapp/twiki_maketext.rb) that exploits a remote command execution vulnerability (CVE-2012-6329) in TWiki installations prior to version 5.1.3. The vulnerability arises from unsanitized user input passed to Perl's eval function via the MAKETEXT variable, allowing attackers to inject and execute arbitrary shell commands. The module supports both authenticated and anonymous exploitation, depending on the target's configuration. It interacts with several TWiki HTTP endpoints to authenticate, retrieve tokens, inject the payload, and trigger execution. The exploit is weaponized, allowing customizable command payloads, and is suitable for use against vulnerable TWiki instances with user interface localization enabled. 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.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
An arbitrary command execution vulnerability in Perl's Locale::Maketext/Maketext.pm _compile function caused by improper handling of backslashes and fully qualified method names during bracket-notation compilation.
A medium-severity arbitrary-command-execution vulnerability in Perl's Locale::Maketext Maketext.pm _compile function. Improper handling of backslashes and fully qualified method names in bracket notation can permit crafted user-supplied translation strings to execute commands.
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.