Media Hygiene <= 3.0.1 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Attachment Deletion

4.3
Missing Authorization
CVE CVE-2024-5855
CVSS 4.3 (Medium)
Publicly Published July 8, 2024
Last Updated July 9, 2024
Researcher Lucio Sá

Description

The Media Hygiene: Remove or Delete Unused Images and More! plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the bulk_action_delete and delete_single_image_call AJAX actions in all versions up to, and including, 3.0.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary attachments. A nonce check was added in version 3.0.1, however, it wasn't until version 3.0.2 that a capability check was added.

References

Share

Vulnerability Details for Media Hygiene: Remove or Delete Unused Images and More!

Software Type Plugin
Software Slug media-hygiene (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.0.2, or a newer patched version
Affected Version
  • <= 3.0.1
Patched Version
  • 3.0.2

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