CVE-2019-11272: Insufficiently Protected Credentials and Improper Authentication in Spring Security
7.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.60355%
CWE
Published
6/27/2019
Updated
1/28/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.springframework.security:spring-security-core | maven | <= 4.2.12 | 4.2.13 |
org.springframework.security:spring-security-cas | maven | <= 4.2.12.RELEASE | 4.2.13.RELEASE |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from PlaintextPasswordEncoder
's matches()
method handling of null encoded passwords. The CVE description explicitly states authentication succeeds with 'null' password when encoded password is null. The matches()
method is the core authentication comparison point in password encoders, making it the direct vulnerable function. While no patch diffs are available, the CVE details and Spring Security
architecture confirm this is the only function that performs the insecure credential comparison.