CVE-2008-2827 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....
MediumCVSS 4.6
EPSS 0.84%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- Debian
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/perl(Debian 12) | < 5.10.0-11 | 5.10.0-11 | Fixed |
| debian/perl(Debian 13) | < 5.10.0-11 | 5.10.0-11 | Fixed |
| debian/perl(Debian 14) | < 5.10.0-11 | 5.10.0-11 | Fixed |
| perl | = 5.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| perl | = 5.10 | No fix listed |
| debian/perl(Debian:12) | < 5.10.0-11 | 5.10.0-11 |
| debian/perl(Debian:13) | < 5.10.0-11 | 5.10.0-11 |
| debian/perl(Debian:14) | < 5.10.0-11 | 5.10.0-11 |
References
- Debian Security Tracker CVE-2008-2827 vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org exploit
- SUSE-SR:2008:017 vendor-advisory
- rt.cpan.org exploit
- 30790 third-party-advisory
- 30837 third-party-advisory
- 31687 third-party-advisory
- MDVSA-2008:165 vendor-advisory
- 29902 vdb-entry
- 1020373 vdb-entry
- perl-filepath-rmtree-symlink(43308) vdb-entry
- FEDORA-2008-5739 vendor-advisory