{"id":"CVE-2013-7041","aliases":["DEBIAN-CVE-2013-7041","EUVD-2013-6841","GHSA-mcg8-3cr3-6hq9","MGASA-2015-0213","SUSE-SU-2016:1645-1","UBUNTU-CVE-2013-7041","USN-2935-1"],"status":"published","title":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which...","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02484,"percentile":0.8472,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310"],"published":"2014-05-08T00:00:00Z","modified":"2026-09-01T20:03:19Z","fixes":[{"ecosystem":"Debian:12","package":"pam","fixed_in":["1.1.8-3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pam","fixed_in":["1.1.8-3.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pam","fixed_in":["1.1.8-3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"pam","fixed_in":["1.1.8-1ubuntu2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-3.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-3.1"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-7.1.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.17.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.17.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.17.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1ubuntu2.1"}]}],"versions":["1.1.3-8ubuntu3","1.1.3-10ubuntu1","1.1.3-11ubuntu1","1.1.8-1ubuntu1","1.1.8-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1ubuntu2.1"}]}],"versions":["1.1.3-8ubuntu3","1.1.3-10ubuntu1","1.1.3-11ubuntu1","1.1.8-1ubuntu1","1.1.8-1ubuntu2"],"bundled":3}],"products":[{"vendor":"cristian_gafton","product":"pam_userdb"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/12/09/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","report"]},{"url":"http://www.securityfocus.com/bid/64180","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731368","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/12/09/16","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201605-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-2935-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-2935-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1038555","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://www.ubuntu.com/usn/USN-2935-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-7041"},{"url":"https://github.com/advisories/GHSA-mcg8-3cr3-6hq9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-7041","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2015-0213.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11937","tags":["report"]},{"url":"https://lists.fedoraproject.org/pipermail/package-announce/2014-December/146370.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2016/suse-su-20161645-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/854480","tags":["report"]},{"url":"https://bugzilla.suse.com/934920","tags":["report"]},{"url":"https://bugzilla.suse.com/962220","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2013-7041","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3238","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2013-7041","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2935-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-7041","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-2583","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-3238","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-7041","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T14:00:00Z","modified":"2024-08-06T17:53:46.135Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2013-6841","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T14:00:00Z","modified":"2024-08-06T17:53:46Z","updated_at":"2026-11-03T01:56:24.379982Z"}],"ghsa":[{"id":"GHSA-mcg8-3cr3-6hq9","title":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which...","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2022-05-17T03:34:41Z","modified":"2023-01-27T05:07:50Z","updated_at":"2026-11-02T14:43:11.926628Z"}],"nvd":[{"id":"CVE-2013-7041","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T14:29:12.5Z","modified":"2026-06-17T00:01:19.733Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:50.049023Z"}],"osv":[{"id":"CVE-2013-7041","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T14:29:12Z","modified":"2026-04-16T06:18:50.508542203Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2013-7041","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T14:29:12.5Z","modified":"2026-09-01T20:03:19.291808103Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"MGASA-2015-0213","title":"Updated pam packages fix security vulnerabilities","description":"Updated pam packages fix security vulnerabilities:\n\nThe pam_userdb module for Pam uses a case-insensitive method to compare hashed\npasswords, which makes it easier for attackers to guess the password via a\nbrute force attack (CVE-2013-7041).\n\nMultiple directory traversal vulnerabilities in pam_timestamp.c in the\npam_timestamp module for Linux-PAM (aka pam) 1.1.8 allow local users to create\naribitrary files or possibly bypass authentication via a .. (dot dot) in the\nPAM_RUSER value to the get_ruser function or (2) PAM_TTY value to the\ncheck_tty funtion, which is used by the format_timestamp_name function\n(CVE-2014-2583).\n","status":"published","published":"2015-05-12T19:37:48Z","modified":"2026-04-16T06:25:14.186146013Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"SUSE-SU-2016:1645-1","title":"Security update for pam","description":"This update for pam fixes two security issues.\n\nThese security issues were fixed:\n- CVE-2015-3238: pam_unix in conjunction with SELinux allowed for DoS attacks (bsc#934920).\n- CVE-2013-7041: Compare password hashes case-sensitively (bsc#854480).\n\nThis non-security issue was fixed:\n- bsc#962220: Don't fail when /var/log/btmp is corrupted\n","status":"published","published":"2016-06-21T10:32:29Z","modified":"2026-02-04T03:23:21.893669Z","updated_at":"2026-11-02T15:53:43.438985Z"},{"id":"UBUNTU-CVE-2013-7041","description":"The pam_userdb module for Pam uses a case-insensitive method to compare hashed passwords, which makes it easier for attackers to guess the password via a brute force attack.","status":"published","published":"2014-05-08T00:00:00Z","modified":"2026-04-22T09:25:44.022928Z","updated_at":"2026-11-02T15:54:07.421078Z"},{"id":"USN-2935-1","title":"pam vulnerabilities","description":"It was discovered that the PAM pam_userdb module incorrectly used a\ncase-insensitive method when comparing hashed passwords. A local attacker\ncould possibly use this issue to make brute force attacks easier. This\nissue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2013-7041)\n\nSebastian Krahmer discovered that the PAM pam_timestamp module incorrectly\nperformed filtering. A local attacker could use this issue to create\narbitrary files, or possibly bypass authentication. This issue only\naffected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2014-2583)\n\nSebastien Macke discovered that the PAM pam_unix module incorrectly handled\nlarge passwords. A local attacker could possibly use this issue in certain\nenvironments to enumerate usernames or cause a denial of service.\n(CVE-2015-3238)\n","status":"published","published":"2016-03-16T13:45:39Z","modified":"2026-04-22T09:24:27.367718Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
