4.6med

CVE-2008-28271 exploit

The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local user…

Published 18 y ago · modified 4 mo ago · JSON

CVSS
4.6
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 58%
Public exploits
1
Exploit-DB

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.

Exploit prediction (EPSS)

0.84% probability of exploitation in the next 30 days, higher than 58% of all scored CVEs.

Exploits and detections

  • EDB-31959 Perl - 'rmtree()' Function Local Insecure Permissions · local · 2008-06-23

CVSS scores

Assigned byVersionScoreVector
NVD2.04.6AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

  • lists.opensuse.org /opensuse-security-announce/2008-08/msg00006.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • redhat.com /archives/fedora-package-announce/2008-June/msg01025.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • securityfocus.com /bid/29902 · vdb-entry, x_refsource_BID, x_transferred
  • mandriva.com /security/advisories?name=MDVSA-2008:165 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
  • rt.cpan.org /Public/Bug/Display.html?id=36982 · x_refsource_MISC, x_transferred
  • secunia.com /advisories/31687 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • bugs.debian.org /cgi-bin/bugreport.cgi?bug=487319 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id?1020373 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • secunia.com /advisories/30790 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/30837 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/43308 · vdb-entry, x_refsource_XF, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.