CVE-2019-11272 PlaintextPasswordEncoder authenticates encoded passwords that are null

High 7.3 Published Updated

Attackers can authenticate as users with null encoded passwords when using PlaintextPasswordEncoder, leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11272?

CVE-2019-11272 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 26 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Spring Security, versions 4.2.x up to 4.2.12, and older unsupported versions support plain text passwords using PlaintextPasswordEncoder. If an application using an affected version of Spring Security is leveraging PlaintextPasswordEncoder and a user has a null encoded password, a malicious user (or attacker) can authenticate using a password of "null".

Weakness: CWE-522, CWE-287

Which versions are affected by CVE-2019-11272?

4 open source packages ship an affected version, including org.springframework.security:spring-security-cas and org.springframework.security:spring-security-core. It affects 2 products.

PackageAffectedFixed in
org.springframework.security:spring-security-cas MavenAll versions4.2.13.RELEASE
org.springframework.security:spring-security-cas MavenAll versions4.2.13.RELEASE
org.springframework.security:spring-security-core MavenAll versions4.2.13
org.springframework.security:spring-security-core MavenAll versions4.2.13

Products include Debian Debian Linux, Vmware Spring Security.

How do I fix CVE-2019-11272?

Upgrade org.springframework.security:spring-security-cas to 4.2.13.RELEASE or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2019-11272 being exploited?

There is no known exploitation of CVE-2019-11272 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DLA-1848-1, GHSA-v33x-prhc-gph5.

Is CVE-2019-11272 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free