Remote code execution in HtmlUnit library



Published: 2020-02-10
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-5529
CWE-ID CWE-284
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
HtmlUnit
Client/Desktop applications / Web browsers

Vendor HtmlUnit

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper access control

EUVDB-ID: #VU25096

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-5529

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

HtmlUnit: 2.0 - 2.36.0

External links

http://jvn.jp/en/jp/JVN34535327/index.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to visit a specially crafted website.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###