53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
id: CVE-2020-35489
|
|
|
|
info:
|
|
name: WordPress Contact Form 7 - Unrestricted File Upload
|
|
author: soyelmago
|
|
severity: critical
|
|
description: WordPress Contact Form 7 before 5.3.2 allows unrestricted file upload and remote code execution because a filename may contain special characters.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-35489
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
cvss-score: 10.0
|
|
cve-id: CVE-2020-35489
|
|
cwe-id: CWE-434
|
|
tags: cve,cve2020,wordpress,wp-plugin,rce,upload
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/contact-form-7/readme.txt"
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: version
|
|
internal: true
|
|
group: 1
|
|
regex:
|
|
- "(?m)Stable tag: ([0-9.]+)"
|
|
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- "(?m)Stable tag: ([0-9.]+)"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Contact Form 7"
|
|
- '== Changelog =='
|
|
condition: and
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- compare_versions(version, '< 5.3.2')
|
|
|
|
# Enhanced by mp on 2022/04/28
|