CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.0 | $0-$5k | 0.00 |
A vulnerability classified as critical has been found in Perl 5.6.1/5.8.4 (Programming Language Software). This affects the function File::Path::rmtree
. The manipulation with an unknown input leads to a race condition vulnerability. CWE is classifying the issue as CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.
The bug was discovered 12/23/2004. The weakness was shared 12/26/2004 by Paul Szabo (Website). The advisory is shared at secunia.com. This vulnerability is uniquely identified as CVE-2004-0452 since 05/06/2004. The attack needs to be initiated within the local network. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
After even before and not, there has been an exploit disclosed. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 19112 (FreeBSD : perl -- File::Path insecure file/directory permissions (c418d472-6bd1-11d9-93ca-000a95bc6fae)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 121527 (Solaris Multiple Vulnerabilities in Perl 5.8).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at perl.org. The problem might be mitigated by replacing the product with as an alternative. The best possible mitigation is suggested to be establishing an alternative product. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (18650) and Tenable (19112). The entries 955, 1172, 1270 and 27528 are related to this item.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Partially
Availability: 🔍
Access: Public
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 19112
Nessus Name: FreeBSD : perl -- File::Path insecure file/directory permissions (c418d472-6bd1-11d9-93ca-000a95bc6fae)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 62840
OpenVAS Name: Debian Security Advisory DSA 1678-1 (perl)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: AlternativeStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Patch: perl.org
Timeline
05/06/2004 🔍12/21/2004 🔍
12/21/2004 🔍
12/23/2004 🔍
12/23/2004 🔍
12/23/2004 🔍
12/26/2004 🔍
12/26/2004 🔍
12/26/2004 🔍
01/10/2005 🔍
01/21/2005 🔍
02/02/2005 🔍
02/17/2005 🔍
07/13/2005 🔍
06/30/2019 🔍
Sources
Advisory: secunia.com⛔Researcher: Paul Szabo
Status: Not defined
CVE: CVE-2004-0452 (🔍)
OVAL: 🔍
X-Force: 18650 - Perl File::Path::rmtree insecure permissions, Medium Risk
SecurityTracker: 1012659
Vulnerability Center: 7098 - Perl File::Path Module rmtree Function Race Condition Enables Arbitrary File Access, Medium
SecurityFocus: 12072 - Perl RMTree Local Race Condition Vulnerability
Secunia: 13643 - Perl "File::Path::rmtree" Race Condition, Less Critical
OSVDB: 12588 - Perl File::Path::rmtree Symlink Arbitrary File/Directory Manipulation
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 01/10/2005 11:01Updated: 06/30/2019 18:52
Changes: 01/10/2005 11:01 (102), 06/30/2019 18:52 (2)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.