Perl up to 5.16.2 Locale::Maketext code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability has been found in Perl and classified as critical. Affected by this vulnerability is the function Locale::Maketext. The manipulation leads to code injection. This vulnerability is known as CVE-2012-6329. Furthermore, there is an exploit available. It is recommended to apply a patch to fix this issue. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Detailsinfo

A vulnerability, which was classified as critical, was found in Perl (Programming Language Software). Affected is the function Locale::Maketext. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was presented 01/04/2013 as confirmed git commit (GIT Repository). The advisory is available at perl5.git.perl.org. This vulnerability is traded as CVE-2012-6329 since 12/10/2012. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. This vulnerability is assigned to T1059 by the MITRE ATT&CK project.

A public exploit has been developed by Metasploit in Ruby and been published even before and not after the advisory. The exploit is shared for download at securityfocus.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 12 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 72366 (Ubuntu 10.04 LTS / 12.04 LTS / 12.10 : perl vulnerability (USN-2099-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350569 (Amazon Linux Security Advisory for perl: ALAS-2013-177).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at perl5.git.perl.org.

The vulnerability is also documented in the databases at X-Force (80688), Exploit-DB (23579), Tenable (72366), SecurityFocus (BID 56950†) and Vulnerability Center (SBV-48775†). See VDB-7882, VDB-10928, VDB-63319 and VDB-63193 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Metasploit
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 72366
Nessus Name: Ubuntu 10.04 LTS / 12.04 LTS / 12.10 : perl vulnerability (USN-2099-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 803339
OpenVAS Name: Active Perl Locale::Maketext Module Multiple Code Injection Vulnerabilities (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: foswiki_maketext.rb
MetaSploit Name: Foswiki MAKETEXT Remote Command Execution
MetaSploit File: 🔍

D2Sec: TWiki 5.1.2 RCE

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: perl5.git.perl.org
McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

12/10/2012 🔍
12/14/2012 +4 days 🔍
12/23/2012 +9 days 🔍
12/23/2012 +0 days 🔍
12/23/2012 +0 days 🔍
01/04/2013 +12 days 🔍
01/04/2013 +0 days 🔍
02/06/2014 +398 days 🔍
02/25/2015 +384 days 🔍
03/24/2015 +27 days 🔍
06/30/2024 +3386 days 🔍

Sourcesinfo

Advisory: USN-2099-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-6329 (🔍)
GCVE (CVE): GCVE-0-2012-6329
GCVE (VulDB): GCVE-100-63318

OVAL: 🔍

X-Force: 80688
SecurityFocus: 56950 - TWiki and Foswiki 'MAKETEXT' Variable Multiple Security Vulnerabilities
Vulnerability Center: 48775 - TWiki and Foswiki MAKETEXT Variable Remote Commands Execution Vulnerability, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/24/2015 12:22 PM
Updated: 06/30/2024 03:13 PM
Changes: 03/24/2015 12:22 PM (80), 01/29/2018 04:08 PM (12), 12/21/2021 12:22 PM (3), 12/21/2021 12:30 PM (1), 06/30/2024 03:13 PM (15)
Complete: 🔍
Cache ID: 18:289:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!