CVE-2024-5639: WordPress User Profile Picture - Insecure Direct Object Reference
- Cve: CVE-2024-5639
- Name: WordPress User Profile Picture - Insecure Direct Object Reference
- 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.
- Impact: Authenticated attackers can change any user's profile picture, potentially leading to impersonation or reputation damage.
- Remediation: Update to the latest version of the plugin where the issue is fixed.
- Vulnerability type: broken_access_control
- Vulnerability impact: data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs to be logged in with author privileges or higher
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.0041
- Epss percentile: 0.36
- Assignee: [email protected]
- Published at: 2024-06-21T07:15:10Z
- Age in days: 886
- Modified at: 2026-06-17T08:16:20Z
- Patch available: yes
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5639
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cozmoslabs:user_profile_picture | < 2.6.2 | no | nvd | /v1/products/cozmoslabs/user_profile_picture |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 142
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports