Http-body Project Perl 1.08 Temp File Name HTTP::Body::Multipart privileges management

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Http-body Project Perl 1.08. It has been classified as problematic. This affects the function HTTP::Body::Multipart of the component Temp File Name Handler. This manipulation causes privileges management. This vulnerability is registered as CVE-2013-4407. Furthermore, an exploit is available. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability was found in Http-body Project Perl 1.08 (Project Management Software). It has been declared as critical. Affected by this vulnerability is the function HTTP::Body::Multipart of the component Temp File Name Handler. The manipulation with an unknown input leads to a privileges management vulnerability. The CWE definition for the vulnerability is CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

HTTP::Body::Multipart in the HTTP-Body 1.08, 1.17, and earlier module for Perl uses the part of the uploaded file s name after the first "." character as the suffix of a temporary file, which makes it easier for remote attackers to conduct attacks by leveraging subsequent behavior that may assume the suffix is well-formed.

The weakness was published 09/02/2013 by Jonathan Dolle as #721634 as not defined bug report (Website). The advisory is shared at bugs.debian.org. The public release happened without involvement of Http-body Project. This vulnerability is known as CVE-2013-4407 since 06/12/2013. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue. The advisory points out:

The following line in HTTP::Body::Multipart is not good: my $suffix = $basename =~ /[^.]+(\.[^\\\/]+)$/ ? $1 : q{};

A public exploit has been developed by Jonathan Dolle and been published immediately after the advisory. It is possible to download the exploit at bugs.debian.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 71025 (Debian DSA-2801-1 : libhttp-body-perl - design error), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166879 (OpenSuSE Security Update for perl-HTTP-Body (openSUSE-SU-2014:0433-1)).

Applying the patch #721634 is able to eliminate this problem. The bugfix is ready for download at bugs.debian.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. The bug report contains the following remark:

I recommand the following regexp: my $suffix = $basename =~ /[^.]+(\.[\w]+)$/ ? $1 : q{};

The vulnerability is also documented in the databases at X-Force (87754), Tenable (71025), SecurityFocus (BID 62875†), OSVDB (98269†) and Vulnerability Center (SBV-42421†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • HTTP::Body::Multipart 1.0.8

Productinfo

Type

Vendor

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: 6.6

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

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Jonathan Dolle
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71025
Nessus Name: Debian DSA-2801-1 : libhttp-body-perl - design error
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892801
OpenVAS Name: Debian Security Advisory DSA 2801-1 (libhttp-body-perl - design error
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Patch: #721634

Timelineinfo

06/12/2013 🔍
09/02/2013 +82 days 🔍
09/02/2013 +0 days 🔍
09/02/2013 +0 days 🔍
09/02/2013 +0 days 🔍
09/02/2013 +0 days 🔍
10/10/2013 +38 days 🔍
11/22/2013 +43 days 🔍
11/23/2013 +1 days 🔍
12/01/2013 +8 days 🔍
12/25/2024 +4042 days 🔍

Sourcesinfo

Advisory: #721634
Researcher: Jonathan Dolle
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-4407 (🔍)
GCVE (CVE): GCVE-0-2013-4407
GCVE (VulDB): GCVE-100-10645

OVAL: 🔍

X-Force: 87754
SecurityFocus: 62875 - CPAN HTTP::Body::MultiPart Module CVE-2013-4407 Remote Command Injection Vulnerability
OSVDB: 98269
Vulnerability Center: 42421 - Perl HTTP-Body 1.08-1.17 Remote Command Injection Vulnerability, Medium

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

Entryinfo

Created: 10/10/2013 11:22
Updated: 12/25/2024 16:23
Changes: 10/10/2013 11:22 (90), 05/16/2017 04:26 (2), 05/26/2021 14:31 (3), 12/25/2024 16:23 (22)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!