ID CVE-2012-6329
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.
References
Vulnerable Configurations
  • Perl 5.16.2
    cpe:2.3:a:perl:perl:5.16.2
  • Perl 5.16.1
    cpe:2.3:a:perl:perl:5.16.1
  • Perl 5.16.0
    cpe:2.3:a:perl:perl:5.16.0
  • Perl 5.14.3
    cpe:2.3:a:perl:perl:5.14.3
  • Perl 5.10.0
    cpe:2.3:a:perl:perl:5.10.0
  • Perl 5.10.1
    cpe:2.3:a:perl:perl:5.10.1
  • Perl 5.14.2
    cpe:2.3:a:perl:perl:5.14.2
  • Perl 5.14.0
    cpe:2.3:a:perl:perl:5.14.0
  • Perl 5.14.1
    cpe:2.3:a:perl:perl:5.14.1
  • Perl 5.14.0 Release Candidate 3
    cpe:2.3:a:perl:perl:5.14.0:rc3
  • Perl 5.14.0 Release Candidate 2
    cpe:2.3:a:perl:perl:5.14.0:rc2
  • Perl 5.14.0 Release Candidate 1
    cpe:2.3:a:perl:perl:5.14.0:rc1
  • Perl 5.13.5
    cpe:2.3:a:perl:perl:5.13.5
  • Perl 5.13.4
    cpe:2.3:a:perl:perl:5.13.4
  • Perl 5.13.7
    cpe:2.3:a:perl:perl:5.13.7
  • Perl 5.13.6
    cpe:2.3:a:perl:perl:5.13.6
  • Perl 5.13.1
    cpe:2.3:a:perl:perl:5.13.1
  • Perl 5.13.0
    cpe:2.3:a:perl:perl:5.13.0
  • Perl 5.13.3
    cpe:2.3:a:perl:perl:5.13.3
  • Perl 5.13.2
    cpe:2.3:a:perl:perl:5.13.2
  • Perl 5.10.0 Release Candidate 2
    cpe:2.3:a:perl:perl:5.10.0:rc2
  • Perl 5.10.0 Release Candidate 1
    cpe:2.3:a:perl:perl:5.10.0:rc1
  • Perl 5.10.1 Release Candidate 2
    cpe:2.3:a:perl:perl:5.10.1:rc2
  • Perl 5.10.1 Release Candidate 1
    cpe:2.3:a:perl:perl:5.10.1:rc1
  • Perl 5.12.0 Release Candidate 1
    cpe:2.3:a:perl:perl:5.12.0:rc1
  • Perl 5.12.0 Release Candidate 2
    cpe:2.3:a:perl:perl:5.12.0:rc2
  • Perl 5.12.0 Release Candidate 3
    cpe:2.3:a:perl:perl:5.12.0:rc3
  • Perl 5.12.0 Release Candidate 5
    cpe:2.3:a:perl:perl:5.12.0:rc5
  • Perl 5.11.4
    cpe:2.3:a:perl:perl:5.11.4
  • Perl 5.11.5
    cpe:2.3:a:perl:perl:5.11.5
  • Perl 5.12.0
    cpe:2.3:a:perl:perl:5.12.0
  • Perl 5.12.0 Release Candidate 0
    cpe:2.3:a:perl:perl:5.12.0:rc0
  • Perl perl 5.11.1
    cpe:2.3:a:perl:perl:5.11.1
  • Perl 5.11.0
    cpe:2.3:a:perl:perl:5.11.0
  • Perl perl 5.10
    cpe:2.3:a:perl:perl:5.10
  • Perl 5.11.2
    cpe:2.3:a:perl:perl:5.11.2
  • Perl 5.11.3
    cpe:2.3:a:perl:perl:5.11.3
  • Perl 5.13.8
    cpe:2.3:a:perl:perl:5.13.8
  • Perl 5.13.9
    cpe:2.3:a:perl:perl:5.13.9
  • Perl 5.13.10
    cpe:2.3:a:perl:perl:5.13.10
  • Perl 5.13.11
    cpe:2.3:a:perl:perl:5.13.11
  • Perl 5.12.2
    cpe:2.3:a:perl:perl:5.12.2
  • Perl 5.12.1 Release Candidate 2
    cpe:2.3:a:perl:perl:5.12.1:rc2
  • Perl 5.12.2 Release Candidate 1
    cpe:2.3:a:perl:perl:5.12.2:rc1
  • Perl 5.12.3 Release Candidate 3
    cpe:2.3:a:perl:perl:5.12.3:rc3
  • Perl 5.12.3 Release Candidate 2
    cpe:2.3:a:perl:perl:5.12.3:rc2
  • Perl 5.12.3 Release Candidate 1
    cpe:2.3:a:perl:perl:5.12.3:rc1
  • Perl 5.12.3
    cpe:2.3:a:perl:perl:5.12.3
  • Perl 5.12.1 Release Candidate 1
    cpe:2.3:a:perl:perl:5.12.1:rc1
  • Perl 5.12.0 Release Candidate 4
    cpe:2.3:a:perl:perl:5.12.0:rc4
  • Perl 5.12.1
    cpe:2.3:a:perl:perl:5.12.1
CVSS
Base: 7.5 (as of 07-01-2013 - 08:39)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
d2sec via4
name TWiki 5.1.2 RCE
url http://www.d2sec.com/exploits/twiki_5.1.2_rce.html
exploit-db via4
  • description Foswiki MAKETEXT Remote Command Execution. CVE-2012-6329,CVE-2012-6330. Remote exploit for unix platform
    id EDB-ID:23580
    last seen 2016-02-02
    modified 2012-12-23
    published 2012-12-23
    reporter metasploit
    source https://www.exploit-db.com/download/23580/
    title Foswiki MAKETEXT Remote Command Execution
  • description TWiki MAKETEXT Remote Command Execution. CVE-2012-6329. Remote exploit for unix platform
    id EDB-ID:23579
    last seen 2016-02-02
    modified 2012-12-23
    published 2012-12-23
    reporter metasploit
    source https://www.exploit-db.com/download/23579/
    title TWiki MAKETEXT Remote Command Execution
metasploit via4
  • description This module exploits a vulnerability in the MAKETEXT Foswiki variable. By using a specially crafted MAKETEXT, a malicious user can execute shell commands since the input is passed to the Perl "eval" command without first being sanitized. The problem is caused by an underlying security issue in the CPAN:Locale::Maketext module. Only Foswiki sites that have user interface localization enabled (UserInterfaceInternationalisation variable set) are vulnerable. If USERNAME and PASSWORD aren't provided, anonymous access will be tried. Also, if the FoswikiPage option isn't provided, the module will try to create a random page on the SandBox space. The modules has been tested successfully on Foswiki 1.1.5 as distributed with the official Foswiki-1.1.5-vmware image.
    id MSF:EXPLOIT/UNIX/WEBAPP/FOSWIKI_MAKETEXT
    last seen 2018-10-19
    modified 2018-08-20
    published 2012-12-21
    reliability Excellent
    reporter Rapid7
    source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/foswiki_maketext.rb
    title Foswiki MAKETEXT Remote Command Execution
  • description This module exploits a vulnerability in the MAKETEXT Twiki variable. By using a specially crafted MAKETEXT, a malicious user can execute shell commands since user input is passed to the Perl "eval" command without first being sanitized. The problem is caused by an underlying security issue in the CPAN:Locale::Maketext module. This works in TWiki sites that have user interface localization enabled (UserInterfaceInternationalisation variable set). If USERNAME and PASSWORD aren't provided, anonymous access will be tried. Also, if the 'TwikiPage' option isn't provided, the module will try to create a random page on the SandBox space. The module has been tested successfully on TWiki 5.1.2 as distributed with the official TWiki-VM-5.1.2-1 virtual machine.
    id MSF:EXPLOIT/UNIX/WEBAPP/TWIKI_MAKETEXT
    last seen 2019-02-02
    modified 2018-08-20
    published 2012-12-21
    reliability Excellent
    reporter Rapid7
    source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/twiki_maketext.rb
    title TWiki MAKETEXT Remote Command Execution
nessus via4
  • NASL family CGI abuses
    NASL id TWIKI_5_1_3.NASL
    description According to its version number, the instance of TWiki running on the remote host is affected by multiple security vulnerabilities : - The '%MAKETEXT{}%' variable fails to properly sanitize user-supplied input. A remote attacker can exploit this issue to execute arbitrary shell commands on the remote host subject to the privileges of the web server user. (CVE-2012-6329) - The '%MAKETEXT{}%' variable fails to properly sanitize user-supplied input, which can lead to a denial of service) condition if an overly large value is passed to the variable. (CVE-2012-6330) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
    last seen 2019-02-21
    modified 2018-08-01
    plugin id 63399
    published 2013-01-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63399
    title TWiki < 5.1.3 Multiple Vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-0659.NASL
    description Fix Locale::Maketext vulnerability allowing to cross-call functions from message catalogs (CVE-2012-6329). App::Cpan(3pm) manual page was included in two subpackages by mistake. This release keeps the file in perl-CPAN package only. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 64368
    published 2013-01-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64368
    title Fedora 18 : perl-5.16.2-237.fc18 (2013-0659)
  • NASL family AIX Local Security Checks
    NASL id AIX_PERL_ADVISORY4.NASL
    description The version of Perl on the remote host is affected by a code execution vulnerability. The _compile function in Locale::Maketext in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation. This could allow context- dependent attackers to execute arbitrary commands via crafted input.
    last seen 2019-02-21
    modified 2018-07-17
    plugin id 73735
    published 2014-04-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=73735
    title AIX Perl Advisory : perl_advisory4.asc
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201410-02.NASL
    description The remote host is affected by the vulnerability described in GLSA-201410-02 (Perl, Perl Locale-Maketext module: Multiple vulnerabilities) Two vulnerabilities have been reported in the Locale-Maketext module for Perl, which can be exploited by malicious users to compromise an application using the module. The vulnerabilities are caused due to the “_compile()” function not properly sanitising input, which can be exploited to inject and execute arbitrary Perl code. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 78384
    published 2014-10-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78384
    title GLSA-201410-02 : Perl, Perl Locale-Maketext module: Multiple vulnerabilities
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_PERL-58_20130716.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - 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. (CVE-2012-6329)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80730
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80730
    title Oracle Solaris Third-Party Patch Update : perl-58 (cve_2012_6329_code_injection1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-225.NASL
    description Perl was updated to fix 3 security issues : - fix rehash denial of service (compute time) [bnc#804415] [CVE-2013-1667] - improve CGI crlf escaping [bnc#789994] [CVE-2012-5526] - sanitize input in Maketext.pm to avoid code injection [bnc#797060] [CVE-2012-6329] In openSUSE 12.1 also the following non-security bug was fixed : - fix IPC::Open3 bug when '-' is used [bnc#755278]
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 74932
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74932
    title openSUSE Security Update : perl (openSUSE-SU-2013:0497-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-0633.NASL
    description Fix Locale::Maketext vulnerability allowing to cross-call functions from message catalogs (CVE-2012-6329). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 64085
    published 2013-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64085
    title Fedora 16 : perl-5.14.3-205.fc16 (2013-0633)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-0685.NASL
    description From Red Hat Security Advisory 2013:0685 : Updated perl packages that fix multiple security issues now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Perl is a high-level programming language commonly used for system administration utilities and web programming. A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329) Red Hat would like to thank the Perl project for reporting CVE-2012-5195 and CVE-2013-1667. Upstream acknowledges Tim Brown as the original reporter of CVE-2012-5195 and Yves Orton as the original reporter of CVE-2013-1667. All Perl users should upgrade to these updated packages, which contain backported patches to correct these issues. All running Perl programs must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 68797
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68797
    title Oracle Linux 5 / 6 : perl (ELSA-2013-0685)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-1836.NASL
    description Fix double-free when loading Digest::SHA object representing the intermediate SHA state from a file (RT#82655) The following command should be run without any errors. perl -MDigest::SHA -e 'my $d = Digest::SHA->new(256); $d->load('x');' Fix Locale::Maketext vulnerability allowing to cross-call functions from message catalogs (CVE-2012-6329). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 64673
    published 2013-02-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64673
    title Fedora 17 : perl-5.14.3-221.fc17 (2013-1836)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2099-1.NASL
    description It was discovered that Perl's Locale::Maketext module incorrectly handled backslashes and fully qualified method names. An attacker could possibly use this flaw to execute arbitrary code when an application used untrusted templates. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 72366
    published 2014-02-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72366
    title Ubuntu 10.04 LTS / 12.04 LTS / 12.10 : perl vulnerability (USN-2099-1)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-113.NASL
    description Updated perl packages fix security vulnerability : It was discovered that Perl's 'x' string repeat operator is vulnerable to a heap-based buffer overflow. An attacker could use this to execute arbitrary code (CVE-2012-5195). 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 (CVE-2012-6329). In order to prevent an algorithmic complexity attack against its hashing mechanism, perl will sometimes recalculate keys and redistribute the contents of a hash. This mechanism has made perl robust against attacks that have been demonstrated against other systems. Research by Yves Orton has recently uncovered a flaw in the rehashing code which can result in pathological behavior. This flaw could be exploited to carry out a denial of service attack against code that uses arbitrary user input as hash keys. Because using user-provided strings as hash keys is a very common operation, we urge users of perl to update their perl executable as soon as possible. Updates to address this issue have bene pushed to main-5.8, maint-5.10, maint-5.12, maint-5.14, and maint-5.16 branches today. Vendors* were informed of this problem two weeks ago and are expected to be shipping updates today (or otherwise very soon) (CVE-2013-1667).
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 66125
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66125
    title Mandriva Linux Security Advisory : perl (MDVSA-2013:113)
  • NASL family F5 Networks Local Security Checks
    NASL id F5_BIGIP_SOL15867.NASL
    description CVE-2012-5195 Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator. CVE-2012-5526 CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm. CVE-2012-6329 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. CVE-2013-1667 The rehash mechanism in Perl 5.8.2 through 5.16.x allows context-dependent attackers to cause a denial of service (memory consumption and crash) via a crafted hash key.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 85945
    published 2015-09-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85945
    title F5 Networks BIG-IP : Perl vulnerabilities (K15867)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-0685.NASL
    description Updated perl packages that fix multiple security issues now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Perl is a high-level programming language commonly used for system administration utilities and web programming. A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329) Red Hat would like to thank the Perl project for reporting CVE-2012-5195 and CVE-2013-1667. Upstream acknowledges Tim Brown as the original reporter of CVE-2012-5195 and Yves Orton as the original reporter of CVE-2013-1667. All Perl users should upgrade to these updated packages, which contain backported patches to correct these issues. All running Perl programs must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 65698
    published 2013-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65698
    title RHEL 5 / 6 : perl (RHSA-2013:0685)
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_PERL-512_20131017.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator. (CVE-2012-5195) - CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm. (CVE-2012-5526) - 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. (CVE-2012-6329)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80727
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80727
    title Oracle Solaris Third-Party Patch Update : perl-512 (cve_2012_5195_heap_buffer)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_PERL-130301.NASL
    description This update of Perl 5 fixes the following security issues : - fix rehash DoS [bnc#804415] [CVE-2013-1667] - improve CGI crlf escaping [bnc#789994] [CVE-2012-5526] - fix glob denial of service [bnc#796014] [CVE-2011-2728] - sanitize input in Maketext.pm [bnc#797060] [CVE-2012-6329]
    last seen 2019-02-21
    modified 2016-12-21
    plugin id 65247
    published 2013-03-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65247
    title SuSE 11.2 Security Update : Perl (SAT Patch Number 7439)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-0685.NASL
    description Updated perl packages that fix multiple security issues now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Perl is a high-level programming language commonly used for system administration utilities and web programming. A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329) Red Hat would like to thank the Perl project for reporting CVE-2012-5195 and CVE-2013-1667. Upstream acknowledges Tim Brown as the original reporter of CVE-2012-5195 and Yves Orton as the original reporter of CVE-2013-1667. All Perl users should upgrade to these updated packages, which contain backported patches to correct these issues. All running Perl programs must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 65694
    published 2013-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65694
    title CentOS 5 / 6 : perl (CESA-2013:0685)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-177.NASL
    description A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329)
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 69736
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69736
    title Amazon Linux AMI : perl (ALAS-2013-177)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_PERL-8479.NASL
    description This update of Perl 5 fixes the following security issues : - fix rehash DoS [bnc#804415] [CVE-2013-1667] - improve CGI crlf escaping [bnc#789994] [CVE-2012-5526] - fix glob denial of service [bnc#796014] [CVE-2011-2728] - sanitize input in Maketext.pm [bnc#797060] [CVE-2012-6329] - make getgrent work with long group entries [bnc#788388]
    last seen 2019-02-21
    modified 2016-12-22
    plugin id 65249
    published 2013-03-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65249
    title SuSE 10 Security Update : Perl (ZYPP Patch Number 8479)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20130326_PERL_ON_SL5_X.NASL
    description A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329) All running Perl programs must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 65715
    published 2013-03-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65715
    title Scientific Linux Security Update : perl on SL5.x, SL6.x i386/x86_64
  • NASL family OracleVM Local Security Checks
    NASL id ORACLEVM_OVMSA-2016-0076.NASL
    description The remote OracleVM system is missing necessary patches to address critical security updates : - Do not extend allowable epoch values in Time::Local::timelocal to remove useless warning on 64-bit platforms (Resolves: rhbz#1149375) - Fix perl segfaults with custom signal handle (Resolves: rhbz#991854) - Reorder AnyDBM_File back-end preference (Resolves: rhbz#1018721) - Fix backslash interpolation in Locale::Maketext (Resolves: rhbz#1029016) - Enable year 2038 for Time::Local on 64-bit platforms (Resolves: rhbz#1057047) - 800340 - strftime memory leak perl bug (RT#73520) - Resolves: rhbz#800340 - Fix CVE-2012-5195 heap buffer overrun at repeatcpy (Resolves: rhbz#915691) - Fix CVE-2012-5526 newline injection due to improper CRLF escaping in Set-Cookie and P3P headers (Resolves: rhbz#915691) - Fix CVE-2012-6329 possible arbitrary code execution via Locale::Maketext (Resolves: rhbz#915691) - Fix CVE-2013-1667 DoS in rehashing code (Resolves: rhbz#915691) - 848156 - Reverts code of perl-5.8.8-U32019.patch - Resolves: rhbz#848156
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 91752
    published 2016-06-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=91752
    title OracleVM 3.2 : perl (OVMSA-2016-0076)
packetstorm via4
redhat via4
advisories
rhsa
id RHSA-2013:0685
rpms
  • perl-4:5.8.8-40.el5_9
  • perl-suidperl-4:5.8.8-40.el5_9
  • perl-4:5.10.1-130.el6_4
  • perl-Archive-Extract-1:0.38-130.el6_4
  • perl-Archive-Tar-0:1.58-130.el6_4
  • perl-CGI-0:3.51-130.el6_4
  • perl-CPAN-0:1.9402-130.el6_4
  • perl-CPANPLUS-0:0.88-130.el6_4
  • perl-Compress-Raw-Bzip2-0:2.020-130.el6_4
  • perl-Compress-Raw-Zlib-1:2.020-130.el6_4
  • perl-Compress-Zlib-0:2.020-130.el6_4
  • perl-Digest-SHA-1:5.47-130.el6_4
  • perl-ExtUtils-CBuilder-1:0.27-130.el6_4
  • perl-ExtUtils-Embed-0:1.28-130.el6_4
  • perl-ExtUtils-MakeMaker-0:6.55-130.el6_4
  • perl-ExtUtils-ParseXS-1:2.2003.0-130.el6_4
  • perl-File-Fetch-0:0.26-130.el6_4
  • perl-IO-Compress-Base-0:2.020-130.el6_4
  • perl-IO-Compress-Bzip2-0:2.020-130.el6_4
  • perl-IO-Compress-Zlib-0:2.020-130.el6_4
  • perl-IO-Zlib-1:1.09-130.el6_4
  • perl-IPC-Cmd-1:0.56-130.el6_4
  • perl-Locale-Maketext-Simple-1:0.18-130.el6_4
  • perl-Log-Message-1:0.02-130.el6_4
  • perl-Log-Message-Simple-0:0.04-130.el6_4
  • perl-Module-Build-1:0.3500-130.el6_4
  • perl-Module-CoreList-0:2.18-130.el6_4
  • perl-Module-Load-1:0.16-130.el6_4
  • perl-Module-Load-Conditional-0:0.30-130.el6_4
  • perl-Module-Loaded-1:0.02-130.el6_4
  • perl-Module-Pluggable-1:3.90-130.el6_4
  • perl-Object-Accessor-1:0.34-130.el6_4
  • perl-Package-Constants-1:0.02-130.el6_4
  • perl-Params-Check-1:0.26-130.el6_4
  • perl-Parse-CPAN-Meta-1:1.40-130.el6_4
  • perl-Pod-Escapes-1:1.04-130.el6_4
  • perl-Pod-Simple-1:3.13-130.el6_4
  • perl-Term-UI-0:0.20-130.el6_4
  • perl-Test-Harness-0:3.17-130.el6_4
  • perl-Test-Simple-0:0.92-130.el6_4
  • perl-Time-HiRes-4:1.9721-130.el6_4
  • perl-Time-Piece-0:1.15-130.el6_4
  • perl-core-0:5.10.1-130.el6_4
  • perl-devel-4:5.10.1-130.el6_4
  • perl-libs-4:5.10.1-130.el6_4
  • perl-parent-1:0.221-130.el6_4
  • perl-suidperl-4:5.10.1-130.el6_4
  • perl-version-3:0.77-130.el6_4
refmap via4
bid 56950
confirm
mandriva MDVSA-2013:113
misc https://bugzilla.redhat.com/show_bug.cgi?id=884354
mlist
  • [foswiki-announce] 20121212 Security Alert CVE-2012-6329: Foswiki MAKETEXT Variable Allows Arbitrary Shell Command Execution
  • [oss-security] 20121211 Re: CVE request: perl-modules
  • [perl5-porters] 20121205 Re: security notice: Locale::Maketext
  • [perl5-porters] 20121205 security notice: Locale::Maketext
ubuntu USN-2099-1
Last major update 07-12-2016 - 22:02
Published 04-01-2013 - 16:55
Back to Top