Ad Inserter <= 2.8.16 - Insecure Direct Object Reference to Authenticated (Contributor+) Arbitrary Post Content Disclosure via 'data' Shortcode Attribute
- 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 Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 2.8.16 via the 'data' attribute of the [adinserter] shortcode. This is due to the replace_ai_tags() function processing a {reusable-block-N} tag pattern that calls get_post_field('post_content', N) without verifying the requesting user's capability with current_user_can('read_post'), without restricting the post type to 'wp_block', and without checking the post status. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the full content of arbitrary posts including Private, Draft, Pending, Trashed, and password-protected posts owned by other users, by placing the shortcode in a post they own and previewing it.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- spacetime Ad Inserter – Ad Manager & AdSense Ads
through 2.8.16
References 10
plugins.trac.wordpress.org
- browser/ad-inserter/tags/2.8.16/ad-inserter.php#L13083
- browser/ad-inserter/tags/2.8.16/ad-inserter.php#L10569
- browser/ad-inserter/tags/2.8.16/ad-inserter.php#L10818
- browser/ad-inserter/tags/2.8.16/ad-inserter.php#L2101
- browser/ad-inserter/tags/2.8.13/ad-inserter.php#L13083
- browser/ad-inserter/tags/2.8.13/ad-inserter.php#L10569
- browser/ad-inserter/tags/2.8.13/ad-inserter.php#L10818
- browser/ad-inserter/tags/2.8.13/ad-inserter.php#L2101
- changeset?sfp_email=&sfph_mail=&reponame=&old=3591792%40ad-inserter&new=3591792%40ad-inserter&sfp_email=&sfph_mail=