SecurityContext

CVE-2012-6329: Perl Locale::Maketext - Command Injection

  • Cve: CVE-2012-6329
  • Name: Perl Locale::Maketext - Command Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to version 5.17.7 or later to fix the vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Application must accept translation strings from users
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.63738
  • Epss percentile: 0.99237
  • Assignee: [email protected]
  • Published at: 2013-01-04T21:55:01Z
  • Age in days: 5072
  • Modified at: 2026-06-16T23:48:00Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 17
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-6329
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/twiki_maketext.rbmetasploit2012-12-15
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/foswiki_maketext.rbmetasploit2012-12-03

References

Same in every row:

  • Source: nvd
UrlTags
http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8Patch
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695224
http://code.activestate.com/lists/perl5-porters/187746/
http://code.activestate.com/lists/perl5-porters/187763/
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
http://openwall.com/lists/oss-security/2012/12/11/4
http://perl5.git.perl.org/perl.git/blob/HEAD:/pod/perl5177delta.pod
http://rhn.redhat.com/errata/RHSA-2013-0685.html
http://sourceforge.net/mailarchive/message.php?msg_id=30219695

Products

ProductAffectedPlatform boundSourcesUrl
perl:perl<= 5.16.2, = 5.16.1, = 5.16.0, = 5.14.3, = 5.14.2, = 5.14.1, = 5.14.0, = 5.14.0 rc1, = 5.14.0 rc2, = 5.14.0 rc3, = 5.13.11, = 5.13.10, = 5.13.9, = 5.13.8, = 5.13.7, = 5.13.6, = 5.13.5, = 5.13.4, = 5.13.3, = 5.13.2, = 5.13.1, = 5.13.0, = 5.12.3, = 5.12.3 rc1, = 5.12.3 rc2, = 5.12.3 rc3, = 5.12.2, = 5.12.2 rc1, = 5.12.1, = 5.12.1 rc1, = 5.12.1 rc2, = 5.12.0, = 5.12.0 rc0, = 5.12.0 rc1, = 5.12.0 rc2, = 5.12.0 rc3, = 5.12.0 rc4, = 5.12.0 rc5, = 5.11.5, = 5.11.4, = 5.11.3, = 5.11.2, = 5.11.1, = 5.11.0, = 5.10.1, = 5.10.1 rc1, = 5.10.1 rc2, = 5.10.0, = 5.10.0 rc1, = 5.10.0 rc2, = 5.10nonvd/v1/products/perl/perl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2012-12-03
  • Remote: yes
  • Exposed hosts: 2445314
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports