Improper access control in HtmlUnit - CVE-2020-5529

 

Improper access control in HtmlUnit - CVE-2020-5529

Published: February 10, 2020


Vulnerability identifier: #VU25096
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-5529
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: HtmlUnit
Affected software:
HtmlUnit

Detailed vulnerability description

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in Rhino engine. When embedded in Android application, Android-specific initialization of Rhino engine is done in an improper way, hence a remote attacker can use a malicious JavaScript code and execute arbitrary Java code on the application.


How to mitigate CVE-2020-5529

Install updates from vendor's website.

Sources