nuclei-templates/http/cves/2020/CVE-2020-35489.yaml

60 lines
1.6 KiB
YAML
Raw Normal View History

2021-03-21 19:52:38 +00:00
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
- https://web.archive.org/web/20210125141546/https://www.getastra.com/blog/911/plugin-exploit/contact-form-7-unrestricted-file-upload-vulnerability/
- https://wordpress.org/plugins/contact-form-7/#developers
- https://www.jinsonvarghese.com/unrestricted-file-upload-in-contact-form-7/
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
cve-id: CVE-2020-35489
cwe-id: CWE-434
cpe: cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:*:*:*
epss-score: 0.90859
tags: cve,cve2020,wordpress,wp-plugin,rce,fileupload,intrusive
metadata:
max-request: 1
2021-03-21 19:52:38 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/contact-form-7/readme.txt"
2021-03-21 19:52:38 +00:00
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
2021-03-24 19:58:03 +00:00
- type: word
part: body
2022-01-31 19:58:32 +00:00
words:
- "Contact Form 7"
2022-01-31 19:58:32 +00:00
- '== Changelog =='
condition: and
- type: dsl
dsl:
2022-04-11 10:48:13 +00:00
- compare_versions(version, '< 5.3.2')
# Enhanced by mp on 2022/04/28