4.6
CVSSv2

CVE-2008-2827

Published: 23/06/2008 Updated: 08/08/2017
CVSS v2 Base Score: 4.6 | Impact Score: 6.4 | Exploitability Score: 3.9
VMScore: 465
Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

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.

Vulnerable Product Search on Vulmon Subscribe to Product

perl perl 5.10

Vendor Advisories

Debian Bug report logs - #487319 perl-modules: File::Path::rmtree sets symlink target permissions to 0777 Package: perl-modules; Maintainer for perl-modules is Niko Tyni <ntyni@debianorg>; Source for perl-modules is src:perl (PTS, buildd, popcon) Reported by: Ben Hutchings <ben@decadentorguk> Date: Fri, 20 Jun 200 ...

Exploits

source: wwwsecurityfocuscom/bid/29902/info Computers running Perl are prone to a local vulnerability that occurs when handling symbolic links Attackers can leverage this issue to change the permissions of arbitrary files Perl 5100 is vulnerable; other versions may also be affected % touch foo % ln -s foo bar % ls -l foo bar lrwxrw ...