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.
                
            References
                    | Link | Resource | 
|---|---|
| http://sourceforge.net/forum/forum.php?forum_id=499394 | |
| http://jvn.jp/cert/JVNVU%23693909/index.html | |
| http://www.kb.cert.org/vuls/id/693909 | Patch Third Party Advisory US Government Resource | 
| http://www.securityfocus.com/bid/16564 | Patch | 
| http://securitytracker.com/id?1015603 | Patch | 
| http://secunia.com/advisories/18598 | Patch Vendor Advisory | 
| http://www.osvdb.org/22994 | |
| http://www.osvdb.org/22995 | |
| http://www.gentoo.org/security/en/glsa/glsa-200606-18.xml | |
| http://secunia.com/advisories/20690 | Vendor Advisory | 
| http://www.vupen.com/english/advisories/2006/0490 | 
Configurations
                    Configuration 1 (hide)
                                
                                
  | 
                        
Information
                Published : 2006-02-13 03:06
Updated : 2011-03-07 18:29
NVD link : CVE-2006-0056
Mitre link : CVE-2006-0056
JSON object : View
CWE
                
                    
                        
                        CWE-119
                        
            Improper Restriction of Operations within the Bounds of a Memory Buffer
Products Affected
                pam-mysql
- pam-mysql
 


