CVE-2012-6329 in the critical feed json
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and…
published 2013-01-04 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-6184
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 63.7%
- EPSS 63.7% chance of exploitation in 30 days, percentile 99.2%
- public exploits
- 4
- Metasploit, Exploit-DB
Summary
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation, which allows context-dependent attackers to execute arbitrary commands via crafted input to an application that accepts translation strings from users, as demonstrated by the TWiki application before 5.1.3, and the Foswiki application 1.0.x through 1.0.10 and 1.1.x through 1.1.6.
Patch / fix
- perl Debian 14, Debian 13, Debian 12 5.14.2-16
debian advisories DEBIAN-CVE-2012-6329
- perl hummingbird 1 5.42.2-525.2.hum1
- perl-B hummingbird 1 1.89-525.2.hum1
- perl-if hummingbird 1 0.61.000-525.2.hum1
- perl-IO hummingbird 1 1.55-525.2.hum1
- perl-ph hummingbird 1 5.42.2-525.2.hum1
- perl-lib hummingbird 1 0.65-525.2.hum1
- perl-mro hummingbird 1 1.29-525.2.hum1
- perl-Net hummingbird 1 1.04-525.2.hum1
red hat advisories RHSA-2026:80394RHSA-2026:6206RHSA-2013:0685
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6329 updated cvss 5.1
perl: possible arbitrary code execution via Locale::Maketext
-
Red Hat OpenShift Enterprise 1 perlaffected: no fix available
-
Red Hat Enterprise Linux (v. 5 server) perl 5.8.8-40.el5_9, perl-suidperl 5.8.8-40.el5_9 Red Hat Enterprise Linux Desktop (v. 6) perl 5.10.1-130.el6_4, perl-CGI 3.51-130.el6_4, perl-core 5.10.1-130.el6_4, perl-CPAN 1.9402-130.el6_4, perl-libs 5.10.1-130.el6_4, perl-IO-Zlib 1.09-130.el6_4, +39 more Red Hat Enterprise Linux HPC Node (v. 6) perl 5.10.1-130.el6_4, perl-CGI 3.51-130.el6_4, perl-core 5.10.1-130.el6_4, perl-CPAN 1.9402-130.el6_4, perl-libs 5.10.1-130.el6_4, perl-IO-Zlib 1.09-130.el6_4, +39 more Red Hat Enterprise Linux Server (v. 6) perl 5.10.1-130.el6_4, perl-CGI 3.51-130.el6_4, perl-core 5.10.1-130.el6_4, perl-CPAN 1.9402-130.el6_4, perl-libs 5.10.1-130.el6_4, perl-IO-Zlib 1.09-130.el6_4, +39 more Red Hat Enterprise Linux Workstation (v. 6) perl 5.10.1-130.el6_4, perl-CGI 3.51-130.el6_4, perl-core 5.10.1-130.el6_4, perl-CPAN 1.9402-130.el6_4, perl-libs 5.10.1-130.el6_4, perl-IO-Zlib 1.09-130.el6_4, +39 morefixed: vendor fix RHSA-2013:0685
-
Red Hat Hardened Images perl 5.42.2-524.hum1, perl-B 1.89-524.hum1, perl-IO 1.55-524.hum1, perl-Tie 4.6-524.hum1, perl 5.42.2-525.2.hum1, perl-B 1.89-525.2.hum1, +192 morefixed: vendor fix RHSA-2026:6206
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/unix/webapp/foswiki_maketext)
- Published
Exploit prediction
63.74% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/unix/webapp/twiki_maketext TWiki MAKETEXT Remote Command Execution metasploit exploit, excellent rank, 2012-12-15
- Metasploit exploit/unix/webapp/foswiki_maketext Foswiki MAKETEXT Remote Command Execution metasploit exploit, excellent rank, 2012-12-03
- EDB-23580 Foswiki MAKETEXT - Remote Command Execution (Metasploit) remote, 2012-12-23
- EDB-23579 TWiki MAKETEXT - Remote Command Execution (Metasploit) remote, 2012-12-23
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
perl5.git.perl.org
/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8
patch
-
mandriva.com
/security/advisories?name=MDVSA-2013:113
vendor-advisory
-
ubuntu.com
/usn/USN-2099-1
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0685.html
vendor-advisory
- oracle.com /technetwork/topics/security/ovmbulletinjul2016-3090546.html
- twiki.org /cgi-bin/view/Codev/SecurityAlert-CVE-2012-6329
-
sourceforge.net
/mailarchive/message.php?msg_id=30219695
mailing-list
- perl5.git.perl.org /perl.git/blob/HEAD:/pod/perl5177delta.pod
-
code.activestate.com
/lists/perl5-porters/187763/
mailing-list
-
openwall.com
/lists/oss-security/2012/12/11/4
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=884354
- wiki.mageia.org /en/Support/Advisories/MGASA-2013-0032
-
code.activestate.com
/lists/perl5-porters/187746/
mailing-list
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10705
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10735
-
securityfocus.com
/bid/56950
vdb-entry
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=695224
Sources
- CVE List CVE-2012-6329
- NVD CVE-2012-6329
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.