2021-03-21 19:52:38 +00:00
id : CVE-2020-35489
2021-03-21 17:51:13 +00:00
info :
2022-04-29 19:58:07 +00:00
name : WordPress Contact Form 7 - Unrestricted File Upload
2021-03-21 17:51:13 +00:00
author : soyelmago
severity : critical
2022-04-29 19:58:07 +00:00
description : WordPress Contact Form 7 before 5.3.2 allows unrestricted file upload and remote code execution because a filename may contain special characters.
2023-09-06 12:22:36 +00:00
remediation : |
Update to the latest version of the Contact Form 7 plugin to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2020-35489
2022-09-30 20:01:58 +00:00
- https://web.archive.org/web/20210125141546/https://www.getastra.com/blog/911/plugin-exploit/contact-form-7-unrestricted-file-upload-vulnerability/
2022-05-17 09:18:12 +00:00
- https://wordpress.org/plugins/contact-form-7/#developers
- https://www.jinsonvarghese.com/unrestricted-file-upload-in-contact-form-7/
2023-07-11 19:49:27 +00:00
- https://contactform7.com/2020/12/17/contact-form-7-532/
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2022-05-17 09:18:12 +00:00
cvss-score : 10
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-35489
cwe-id : CWE-434
2023-10-14 11:27:55 +00:00
epss-score : 0.91898
2023-11-05 22:23:39 +00:00
epss-percentile : 0.98622
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : rocklobster
product : contact_form_7
2023-09-06 12:22:36 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : cve,cve2020,wordpress,wp-plugin,rce
2021-03-21 19:52:38 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-03-21 17:51:13 +00:00
- method : GET
path :
- "{{BaseURL}}/wp-content/plugins/contact-form-7/readme.txt"
2021-03-21 19:52:38 +00:00
2023-07-11 19:49:27 +00:00
matchers-condition : and
matchers :
- type : dsl
dsl :
- compare_versions(version, '< 5.3.2')
- type : word
part : body
words :
- "Contact Form 7"
- '== Changelog =='
condition : and
- type : status
status :
- 200
2022-03-21 12:18:01 +00:00
extractors :
- type : regex
name : version
group : 1
regex :
- "(?m)Stable tag: ([0-9.]+)"
2023-07-11 19:49:27 +00:00
internal : true
2022-03-21 12:18:01 +00:00
- type : regex
group : 1
regex :
- "(?m)Stable tag: ([0-9.]+)"
2023-11-06 09:19:20 +00:00
# digest: 4b0a00483046022100b790640d942bc02bf01893464d2c847f93a90f633d4165a09f245cc0d484ad530221009a2f1fbf29a4a0849395df7c375279ee96260b8f12c2d9f6aac8c027929f4efe:922c64590222798bb761d5b6d8e72950