CVE-2019-10755 Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml
Predictable SAML identifiers due to weak random number generation allow attackers to bypass authentication in the pac4j-saml library.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-10755?
CVE-2019-10755 is a medium-severity vulnerability in PAC4J For SAML Protocol, published on 23 Sep 2019. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.
Weakness: CWE-338
Which versions are affected by CVE-2019-10755?
2 open source packages ship an affected version, including org.pac4j:pac4j-saml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.pac4j:pac4j-saml Maven | All versions | 3.8.2 |
org.pac4j:pac4j-saml Maven | All versions | 3.8.2 |
Products include Pac4j Pac4j.
How do I fix CVE-2019-10755?
Upgrade org.pac4j:pac4j-saml to 3.8.2 or later.
Is CVE-2019-10755 being exploited?
There is no known exploitation of CVE-2019-10755 in the wild and no public exploit code.
Other vulnerabilities in PAC4J For SAML Protocol
Sources
Also known as GHSA-rc75-cf5c-mxvh, SNYK-JAVA-ORGPAC4J-467407.