{"id":63856,"date":"2025-05-28T19:31:46","date_gmt":"2025-05-28T16:01:46","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-48734-apache-commons-beanutils-uncontrolled-enum-property-access-vulnerability\/"},"modified":"2025-05-28T19:31:46","modified_gmt":"2025-05-28T16:01:46","slug":"cve-2025-48734-apache-commons-beanutils-uncontrolled-enum-property-access-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-48734-apache-commons-beanutils-uncontrolled-enum-property-access-vulnerability\/","title":{"rendered":"CVE-2025-48734 &#8211; Apache Commons BeanUtils Uncontrolled Enum Property Access Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-48734<br \/>\n<br \/>\n<strong>Published : <\/strong> May 28, 2025, 2:15 p.m. | 1\u00a0hour, 28\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>Improper Access Control vulnerability in Apache Commons.<\/p>\n<p>A special BeanIntrospector class was added in version 1.9.2. This can be used to stop attackers from using the declared class property of Java enum objects to get access to the classloader. However this protection was not enabled by default. PropertyUtilsBean (and consequently BeanUtilsBean) now disallows declared class level property access by default.<\/p>\n<p>Releases 1.11.0 and 2.0.0-M2 address a potential security issue when accessing enum properties in an uncontrolled way. 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\u2019s class loader via the \u201cdeclaredClass\u201d property available on all Java \u201cenum\u201d objects. Accessing the enum\u2019s \u201cdeclaredClass\u201d allows remote attackers to access the ClassLoader and execute arbitrary code. The same issue exists with PropertyUtilsBean.getNestedProperty().<br \/>\nStarting in versions 1.11.0 and 2.0.0-M2 a special BeanIntrospector suppresses the \u201cdeclaredClass\u201d property. Note that this new BeanIntrospector is enabled by default, but you can disable it to regain the old behavior; see section 2.5 of the user&#8217;s guide and the unit tests.<\/p>\n<p>This issue affects Apache Commons BeanUtils 1.x before 1.11.0, and 2.x before 2.0.0-M2.Users of the artifact commons-beanutils:commons-beanutils<\/p>\n<p> 1.x are recommended to upgrade to version 1.11.0, which fixes the issue.<\/p>\n<p>Users of the artifact org.apache.commons:commons-beanutils2<\/p>\n<p> 2.x are recommended to upgrade to version 2.0.0-M2, which fixes the issue.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 8.8 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-48734 Published : May 28, 2025, 2:15 p.m. | 1\u00a0hour, 28\u00a0minutes ago Description : Improper Access Control vulnerability in Apache Commons. A special BeanIntrospector class was added in version 1.9.2. This can be used to stop attackers from using the declared class property of Java enum objects to get access to the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-63856","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/63856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=63856"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/63856\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=63856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=63856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=63856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}