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

Medium 4.3 Published Updated

Authenticated subscribers can delete arbitrary attachments due to missing capability checks in the Media Hygiene WordPress plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5855?

CVE-2024-5855 is a medium-severity missing authorization vulnerability in slui Media Hygiene: Remove or Delete Unused Images and More!, published on 9 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2024-5855?

How do I fix CVE-2024-5855?

No fix has been published for CVE-2024-5855 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-5855 being exploited?

There is no known exploitation of CVE-2024-5855 in the wild and no public exploit code.

Sources

Also known as GHSA-5pcx-3rjp-rm45.

Is CVE-2024-5855 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free