Charitable <= 1.8.11.1 - Authenticated (Subscriber+) Insecure Direct Object Reference to Arbitrary Attachment Deletion via 'avatar' 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 Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More plugin for WordPress is vulnerable to Insecure Direct Object Reference / Authorization Bypass leading to Arbitrary Attachment Deletion in versions up to, and including, 1.8.11.1 via the profile avatar update flow. This is due to the save_avatar() function in Charitable_Profile_Form calling wp_delete_attachment() on an attachment ID read from the user's 'avatar' meta without validating that the attachment is owned by the user, combined with Charitable_Data_Processor::process_picture() returning the raw posted value when no file is uploaded, allowing the 'avatar' user meta to be poisoned with any attacker-chosen attachment ID. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary attachments from the Media Library by performing a two-request chain (first poisoning the stored avatar meta value with a target attachment ID, then triggering deletion via a normal avatar upload).
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- smub Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More
through 1.8.11.1
References 12
plugins.trac.wordpress.org
- browser/charitable/tags/1.8.10/includes/abstracts/abstract-class-charitable-form.php#L429
- browser/charitable/tags/1.8.10/includes/utilities/class-charitable-data-processor.php#L270
- browser/charitable/tags/1.8.10/includes/users/class-charitable-user.php#L986
- browser/charitable/tags/1.8.10.5/includes/forms/class-charitable-profile-form.php#L728
- browser/charitable/tags/1.8.10.5/includes/forms/class-charitable-profile-form.php#L724
- browser/charitable/tags/1.8.10.5/includes/utilities/class-charitable-data-processor.php#L270
- browser/charitable/tags/1.8.10.5/includes/users/class-charitable-user.php#L986
- browser/charitable/tags/1.8.10.5/includes/abstracts/abstract-class-charitable-form.php#L429
- browser/charitable/tags/1.8.10/includes/forms/class-charitable-profile-form.php#L728
- browser/charitable/tags/1.8.10/includes/forms/class-charitable-profile-form.php#L724
- changeset/3557047/charitable/trunk/includes/forms/class-charitable-profile-form.php?old=3435951&old_path=charitable%2Ftrunk%2Fincludes%2Fforms%2Fclass-charitable-profile-form.php