VYPR
Unrated severityNVD Advisory· Published May 2, 2005· Updated Apr 16, 2026

CVE-2005-0077

CVE-2005-0077

Description

A local user can overwrite arbitrary files via a symlink attack on a predictable temporary PID file created by Perl's DBI module.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A local user can overwrite arbitrary files via a symlink attack on a predictable temporary PID file created by Perl's DBI module.

Vulnerability

The DBI library (libdbi-perl) for Perl, in versions prior to 1.42-3ubuntu0.1 (Ubuntu) and corresponding versions in other distributions, creates a PID file in an insecure manner with a predictable name. The DBI::ProxyServer module writes this file without checking for an existing symbolic link. Affected package versions include libdbi-perl 1.42 and earlier (Ubuntu 4.10) and dev-perl/DBI on Gentoo [1][2][3].

Exploitation

A local attacker with the ability to create symbolic links in the directory where the PID file is written (typically /tmp or the current working directory) can pre-create a symlink pointing to an arbitrary target file. When a user or script invokes a program using the vulnerable module (such as dbiproxy), the DBI library follows the symlink and overwrites the target file with the privileges of the user running the program. No authentication or user interaction beyond normal program execution is required; the attacker needs only to have write access to the temporary directory [2][3].

Impact

Successful exploitation allows the attacker to overwrite any arbitrary file on the system that the target user has permission to modify. This can lead to privilege escalation, denial of service, or data corruption, depending on the file targeted (e.g., overwriting /etc/passwd, a configuration file, or a user's data files) [1][2].

Mitigation

The issue is fixed in libdbi-perl version 1.42-3ubuntu0.1 for Ubuntu 4.10 (released 2005-01-25) [2] and in dev-perl/DBI 1.46 for Gentoo (released 2005-01-31) [3]. Red Hat also released an erratum (RHSA-2005:072) for affected versions [1]. Users should upgrade to the patched version. No workaround is known; the fix modifies the module to not create a PID file by default [2].

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

8
  • cpe:2.3:o:debian:debian_linux:3.0:*:woody:*:*:*:*:*
  • cpe:2.3:o:gentoo:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:4.0:*:advanced_server:*:*:*:*:*+ 2 more
    • cpe:2.3:o:redhat:enterprise_linux:4.0:*:advanced_server:*:*:*:*:*
    • cpe:2.3:o:redhat:enterprise_linux:4.0:*:enterprise_server:*:*:*:*:*
    • cpe:2.3:o:redhat:enterprise_linux:4.0:*:workstation:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:ubuntu:ubuntu_linux:4.10:*:*:*:*:*:*:*

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

12

News mentions

0

No linked articles in our index yet.