CVE-2013-7041
NoneCVSS
—
EPSS
2.5%
Published
May 8, 2014
CISA due date
—
Cloudanix analysis
A long-standing flaw in how some systems check passwords makes it easier for attackers to guess them by trying fewer combinations.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
pam_userdb performs case-insensitive comparison of password hashes, reducing the effective search space for brute-force attacks against stored credentials.
Why it matters to the business
Older deployments using affected PAM modules face elevated risk of credential compromise through automated guessing, potentially leading to unauthorized system access in environments that have not applied long-available updates.
How an attack unfolds
An attacker obtains or targets a system using pam_userdb for authentication, captures password hash material, and performs offline brute-force attempts that succeed more readily because the comparison ignores case, allowing fewer guesses to cover common password variants.
How to fix it
Upgrade samba packages on Debian 10-13 to the fixed versions 3.0.23d-5 or later; replace pam_userdb usage with case-sensitive alternatives where possible and enforce strong password policies.
How to confirm the fix worked
Confirm package versions match or exceed the listed fixed releases, review PAM configuration files for continued use of pam_userdb, and test authentication behavior to ensure case-sensitive comparisons are enforced.
Typical attack path
- Identify hosts or services relying on pam_userdb for authentication
- Obtain password hashes through network access, log exposure, or local file read
- Launch offline brute-force or dictionary attack leveraging case-insensitive hash comparison
- Use recovered credentials to authenticate to the target system or pivot
How to detect it
Review historical authentication logs and PAM configuration files for references to pam_userdb; look for repeated failed login attempts originating from the same sources over extended periods.
What your security team should do
- Apply the specified package updates immediately on all affected Debian systems
- Audit PAM stacks for pam_userdb usage and migrate away from the module
- Monitor authentication logs for anomalous login patterns
- Enforce password complexity requirements to offset residual guessing risk
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | pam | 0 | 1.1.8-3.1 |
| Debian:11 | pam | 0 | 1.1.8-3.1 |
| Debian:12 | pam | 0 | 1.1.8-3.1 |
| Debian:13 | pam | 0 | 1.1.8-3.1 |
| Mageia:4 | pam | 0 | 1.1.8-7.1.mga4 |
| SUSE:Linux Enterprise Server 11 SP4 | pam | 0 | 1.1.5-0.17.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | pam | 0 | 1.1.5-0.17.2 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | pam | 0 | 1.1.5-0.17.2 |
| Ubuntu:14.04:LTS | pam | 0 | 1.1.8-1ubuntu2.1 |
Related vulnerabilities
- CVE-2024-10963 A flaw was found in pam_access, where certain rules in its configuration file are… Also affects pam
- CVE-2024-10041 A vulnerability was found in PAM. Also affects pam
- CVE-2024-22365 linux-pam (aka Linux PAM) before 1.6.0 allows attackers to cause a denial of service… Also affects pam
- CVE-2026-114576 A vulnerability has been found in Linksys RE6250 1.0.04.001. CWE-310
- CVE-2026-86280 A vulnerability was identified in SourceCodester Syllabus-Aligned Learning Management &… CWE-310
- CVE-2026-82699 A flaw has been found in sambitraj Student Management System up to… CWE-310
- CVE-2026-82555 A vulnerability has been found in TOTOLINK N600R 4.3.0cu.7866_B20220506. CWE-310
- CVE-2026-81836 A vulnerability was detected in RooCodeInc Roo-Code up to 3.51.1. CWE-310