XML External Entity injection in HuTool



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-3276
CWE-ID CWE-611
Exploitation vector Local network
Public exploit N/A
Vulnerable software
hutool
Other software / Other software solutions

Vendor Dromara

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) XML External Entity injection

EUVDB-ID: #VU77524

Risk: Low

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

CVE-ID: CVE-2023-3276

CWE-ID: CWE-611 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input in the readBySax function. A remote user on the local network can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

hutool: 5.8.0 - 5.8.19

CPE2.3 External links

http://vuldb.com/?ctiid.231626
http://vuldb.com/?id.231626
http://fbdhhhh47.github.io/2023/06/06/hutool-XXE/
http://github.com/advisories/GHSA-p2qf-9vp6-3jjq


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the local network (LAN).

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###