CVE Catalog

CVE-2006-0056

High
Published: Translated: NVD NIST

Summary

Double free vulnerability in the authentication and authentication token alteration code in PAM-MySQL 0.6.x before 0.6.2 and 0.7.x before 0.7pre3. Remote attackers can cause a denial of service (application crash) and possibly execute arbitrary code via crafted passwords, which lead to a double free of a pointer created by the pam_get_item function.

Risk Assessment

The risk for the organization includes potential disruption of authentication services (DoS) and possible remote code execution, which could compromise system integrity and confidentiality. This vulnerability only occurs in specific configurations with multiple PAM modules where PAM-MySQL is not evaluated first and there are no requisite modules before it.

Recommendation

Immediately upgrade PAM-MySQL to version 0.6.2 or later (for 0.6.x branch) and to version 0.7pre3 or later (for 0.7.x branch). If an upgrade is not possible, reconfigure PAM so that PAM-MySQL is evaluated first or add requisite modules before it.

Related vulnerabilities

Original NVD description (English source)

Double free vulnerability in the authentication and authentication token alteration code in PAM-MySQL 0.6.x before 0.6.2 and 0.7.x before 0.7pre3 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted passwords, which lead to a double free of a pointer that was created by the pam_get_item function. NOTE: this issue only occurs in certain configurations in which there are multiple PAM modules, PAM-MySQL is not evaluated first, and there are no requisite modules before PAM-MySQL.

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