Advanced Custom Fields <= 6.3.8 - Authenticated (Admin+) Limited Arbitrary Function Call

5.1
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2024-9529
CVSS 5.1 (Medium)
Publicly Published October 7, 2024
Last Updated October 16, 2024
Researcher Automattic

Description

The Advanced Custom Fields (ACF) plugin for WordPress is vulnerable to limited arbitrary function calls via the 'register_meta_box_cb' and 'meta_box_cb' parameters in all versions up to, and including, 6.3.8 (excluding 6.3.6.2) due to insufficient input validation on those parameters. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary functions, like WordPress functions, in custom post types that will execute whenever a user accesses the injected post type. This can be leveraged to trick other users like administrators accessing posts into performing unauthorized actions through functions, and is not a very serious risk for the vast majority of site owners. Please follow the reference listed in this vulnerability record for instructions on how to update to the latest version of ACF that patches this issue and ensures accessibility to updates moving forward. Please note this issue was partially patched in 6.3.8 and 6.3.6.1 - 6.3.6.2, however, was hardened further in 6.3.6.3 and 6.3.9.

References

Share

3 affected software packages

Software Type Plugin
Software Slug advanced-custom-fields
Patched? Yes
Remediation Update to version 6.3.9, or a newer patched version
Affected Versions
  • 6.3.7
  • 6.3.8
  • <= 6.3.6
Patched Version
  • 6.3.9
Software Type Plugin
Software Slug advanced-custom-fields-pro
Patched? Yes
Remediation Update to version 6.3.9, or a newer patched version
Affected Version
  • <= 6.3.8
Patched Version
  • 6.3.9
Software Type Plugin
Software Slug advanced-custom-fields (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.3.6.3, or a newer patched version
Affected Version
  • <= 6.3.6.2
Patched Version
  • 6.3.6.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation