Improper access control in Apache Commons BeanUtils



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-48734
CWE-ID CWE-284
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Commons BeanUtils
Universal components / Libraries / Software for developers

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper access control

EUVDB-ID: #VU111165

Risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-48734

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 to enum properties. If an application using Commons BeanUtils passes property paths from an external source directly to the getProperty() method of PropertyUtilsBean, an attacker can access the enum’s class loader via the “declaredClass” property available on all Java “enum” objects. Accessing the enum’s “declaredClass” allows remote attackers to access the ClassLoader and execute arbitrary code. The same issue exists with PropertyUtilsBean.getNestedProperty().

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Commons BeanUtils: 1.0 - 2.0.0-M1

CPE2.3 External links

https://www.openwall.com/lists/oss-security/2025/05/28/6
https://lists.apache.org/thread/s0hb3jkfj5f3ryx6c57zqtfohb0of1g9


Q & A

Can this vulnerability be exploited remotely?

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

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###