CVE-2017-7536 Privilege Escalation in Hibernate Validator

High 7.0 Published Updated

Attackers can escalate privileges and read private member values by exploiting reflective permission checks in Hibernate Validator when specific security manager permissions are granted.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7536?

CVE-2017-7536 is a high-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 10 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Hibernate Validator 5.2.x before 5.2.5 final, 5.3.x, and 5.4.x, it was found that when the security manager's reflective permissions, which allows it to access the private members of the class, are granted to Hibernate Validator, a potential privilege escalation can occur. By allowing the calling code to access those private members without the permission an attacker may be able to validate an invalid instance and access the private member value via ConstraintViolation#getInvalidValue().

Weakness: CWE-470, CWE-592

Which versions are affected by CVE-2017-7536?

6 open source packages ship an affected version, including org.hibernate:hibernate-validator. It affects 6 products.

PackageAffectedFixed in
org.hibernate:hibernate-validator MavenFrom 5.2.05.2.5.Final
org.hibernate:hibernate-validator MavenFrom 5.2.05.2.5.Final
org.hibernate:hibernate-validator MavenFrom 5.3.05.3.6.Final
org.hibernate:hibernate-validator MavenFrom 5.3.05.3.6.Final
org.hibernate:hibernate-validator MavenFrom 5.4.05.4.2.Final
org.hibernate:hibernate-validator MavenFrom 5.4.05.4.2.Final

Products include Redhat Hibernate Validator, Redhat Jboss Enterprise Application Platform, Redhat Satellite, Redhat Satellite Capsule, Redhat Virtualization, Redhat Virtualization Host.

How do I fix CVE-2017-7536?

Upgrade org.hibernate:hibernate-validator to a fixed version for your release line: 5.2.5.Final, 5.3.6.Final or 5.4.2.Final.

Is CVE-2017-7536 being exploited?

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

All Redhat Jboss Enterprise Application Platform vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7536, GHSA-xxgp-pcfc-3vgc.

Is CVE-2017-7536 in your software?

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

Check your SBOMs for free