CVE-2024-5639 User Profile Picture <= 2.6.1 - Authenticated (Author+) Insecure Direct Object Reference to Profile Picture Update

Medium 4.3 Published Updated

Authenticated attackers with Author access can modify any user's profile picture due to missing validation in the User Profile Picture 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-5639?

CVE-2024-5639 is a medium-severity missing authorization vulnerability in cozmoslabs User Profile Picture, published on 21 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The User Profile Picture plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.6.1 via the 'rest_api_change_profile_image' function due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to update the profile picture of any user.

Weakness: CWE-639

Which versions are affected by CVE-2024-5639?

It affects 1 product.

Products include Cozmoslabs User Profile Picture.

How do I fix CVE-2024-5639?

No fix has been published for CVE-2024-5639 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-5639 being exploited?

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

Sources

Also known as GHSA-vjf8-pc55-p8gm.

Is CVE-2024-5639 in your software?

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

Check your SBOMs for free