Blocks for ACF Fields <= 1.6.2 - Missing Authorization to Authenticated (Author+) Arbitrary ACF Field Value Disclosure via 'id' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Blocks for ACF Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the get_all_values() function in the /wp-json/acf-field-blocks/v1/values REST endpoint in versions up to, and including, 1.6.2. The permission_callback only verifies the generic publish_posts capability and the handler passes a user-supplied id parameter directly to get_field_objects() without verifying that the requesting user is authorized to read the target object. This makes it possible for authenticated attackers, with Author-level access and above, to read ACF field values from arbitrary posts (including private posts, drafts, posts by other users, and other ACF-supported objects) that they should not have access to.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- gamaup Blocks for ACF Fields — Display Custom Fields in the Block Editor
through 1.6.2
References 8
plugins.trac.wordpress.org
- browser/acf-field-blocks/tags/1.6.0/inc/class-rest.php#L302
- browser/acf-field-blocks/tags/1.6.0/inc/class-rest.php#L100
- browser/acf-field-blocks/tags/1.6.0/inc/class-rest.php#L296
- browser/acf-field-blocks/tags/1.5.0/inc/class-rest.php#L302
- browser/acf-field-blocks/tags/1.5.0/inc/class-rest.php#L100
- browser/acf-field-blocks/tags/1.5.0/inc/class-rest.php#L296
- changeset?reponame=&old=3587876%40acf-field-blocks&new=3587876%40acf-field-blocks