CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.5 | $0-$5k | 0.00 |
A vulnerability classified as critical was found in Perl 5.6.1/5.8.4 (Programming Language Software). Affected by this vulnerability is an unknown part of the component Script Handler. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect 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 published 10/28/2004 by Paul Szabo with Trustix (Website). It is possible to read the advisory at trustix.org. This vulnerability is known as CVE-2004-0452 since 05/06/2004. The attack needs to be done within the local network. The exploitation doesn't need any form of authentication. Technical details are unknown but an exploit is available.
After 2 months, 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).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at perl.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (18650), Tenable (19112), SecurityFocus (BID 12072†), OSVDB (12588†) and Secunia (SA18517†). Similar entries are available at VDB-942, VDB-950, VDB-975 and VDB-1089.
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: 5.0VulDB Meta Temp Score: 4.5
VulDB Base Score: 5.0
VulDB Temp Score: 4.5
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: 🔍
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: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Patch: perl.org
Timeline
05/06/2004 🔍10/28/2004 🔍
11/01/2004 🔍
12/21/2004 🔍
12/21/2004 🔍
12/23/2004 🔍
12/23/2004 🔍
12/26/2004 🔍
12/30/2004 🔍
07/13/2005 🔍
01/19/2006 🔍
07/03/2024 🔍
Sources
Advisory: trustix.orgResearcher: Paul Szabo
Organization: Trustix
Status: Not defined
CVE: CVE-2004-0452 (🔍)
OVAL: 🔍
X-Force: 18650 - Perl File::Path::rmtree insecure permissions, Medium Risk
SecurityFocus: 12072 - Perl RMTree Local Race Condition Vulnerability
Secunia: 18517 - SGI Advanced Linux Environment Multiple Updates, Highly Critical
OSVDB: 12588 - Perl File::Path::rmtree Symlink Arbitrary File/Directory Manipulation
Vulnerability Center: 7098
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 11/01/2004 11:22 AMUpdated: 07/03/2024 03:44 AM
Changes: 11/01/2004 11:22 AM (89), 06/30/2019 07:39 AM (7), 07/03/2024 03:44 AM (17)
Complete: 🔍
Cache ID: 18:858:40
No comments yet. Languages: en.
Please log in to comment.