CVE Catalog

CVE-2005-1705

High
Published: Translated: NVD NIST

Summary

GDB before version 6.3 searches the current working directory to load the .gdbinit configuration file, which allows local users to execute arbitrary commands as the user running GDB.

Risk Assessment

The risk is that an attacker can place a malicious .gdbinit file in the directory from which the victim runs GDB, leading to unauthorized command execution and potential system compromise.

Recommendation

It is recommended to upgrade GDB to version 6.3 or later, which does not search the current working directory for the .gdbinit file.

Related vulnerabilities

Original NVD description (English source)

gdb before 6.3 searches the current working directory to load the .gdbinit configuration file, which allows local users to execute arbitrary commands as the user running gdb.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS