National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-2827 Detail

Description

The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.

Source:  MITRE      Last Modified:  06/23/2008

Quick Info

CVE Dictionary Entry:
CVE-2008-2827
Original release date:
06/23/2008
Last revised:
08/07/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
4.6 MEDIUM
Vector:
(AV:L/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
3.9
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (06/24/2008)

Not vulnerable. This issue did not affect the versions of perl as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, Red Hat Application Stack 1, or Solaris versions of Red Hat Directory Server 7.1 and 8, Certificate System 7.x.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487319 Exploit External Source CONFIRM http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487319
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html External Source SUSE SUSE-SR:2008:017
http://rt.cpan.org/Public/Bug/Display.html?id=36982 Exploit External Source MISC http://rt.cpan.org/Public/Bug/Display.html?id=36982
http://www.mandriva.com/security/advisories?name=MDVSA-2008:165 External Source MANDRIVA MDVSA-2008:165
http://www.securityfocus.com/bid/29902 External Source BID 29902
http://www.securitytracker.com/id?1020373 External Source SECTRACK 1020373
https://exchange.xforce.ibmcloud.com/vulnerabilities/43308 External Source XF perl-filepath-rmtree-symlink(43308)
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg01025.html External Source FEDORA FEDORA-2008-5739

Technical Details

Vulnerability Type (View All)

  • Permissions, Privileges, and Access Control (CWE-264)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:perl:perl:5.10:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 2 change records found - show changes