CVE-2024-56334
published 2024-12-20CVE-2024-56334: systeminformation is a System and OS information library for node.js. In affected versions SSIDs are not sanitized when before they are passed as a parameter…
PriorityP342high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.70%
48.4th percentile
systeminformation is a System and OS information library for node.js. In affected versions SSIDs are not sanitized when before they are passed as a parameter to cmd.exe in the `getWindowsIEEE8021x` function. This means that malicious content in the SSID can be executed as OS commands. This vulnerability may enable an attacker, depending on how the package is used, to perform remote code execution or local privilege escalation. This issue has been addressed in version 5.23.7 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| sebhildebrandt | systeminformation | < 5.23.7 | 5.23.7 |
| systeminformation | systeminformation | >= 0 < 5.23.7 | 5.23.7 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
ghsa·2024-12-20
CVE-2024-56334 [HIGH] CWE-94 Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
### Summary
The SSID is not sanitized when before it is passed as a parameter to cmd.exe in the `getWindowsIEEE8021x` function. This means that malicious content in the SSID can be executed as OS commands.
### Details
I have exploited this vulnerability in a Windows service using version 5.22.11 of the module, to escalate privileges (in an environment where I am authorized to do so). However, as far as I can see from the code, it is still present in master branch at time of writing, on line [403/404 of network.js](https://github.com/sebhildebrandt/systeminformation/blob/3a92931c7d46605ffddc1aacb97a9727273b2888/lib/network.js#L403).
The SSID is obtained from `netsh wlan show interface ...` in `getWindowsW
OSV
Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
osv·2024-12-20
CVE-2024-56334 [HIGH] Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
Systeminformation has command injection vulnerability in getWindowsIEEE8021x (SSID)
### Summary
The SSID is not sanitized when before it is passed as a parameter to cmd.exe in the `getWindowsIEEE8021x` function. This means that malicious content in the SSID can be executed as OS commands.
### Details
I have exploited this vulnerability in a Windows service using version 5.22.11 of the module, to escalate privileges (in an environment where I am authorized to do so). However, as far as I can see from the code, it is still present in master branch at time of writing, on line [403/404 of network.js](https://github.com/sebhildebrandt/systeminformation/blob/3a92931c7d46605ffddc1aacb97a9727273b2888/lib/network.js#L403).
The SSID is obtained from `netsh wlan show interface ...` in `getWindowsW
Red Hat
systeminformation: Command injection vulnerability in getWindowsIEEE8021x (SSID) function in systeminformation
vendor_redhat·2024-12-20·CVSS 7.8
CVE-2024-56334 [HIGH] CWE-94 systeminformation: Command injection vulnerability in getWindowsIEEE8021x (SSID) function in systeminformation
systeminformation: Command injection vulnerability in getWindowsIEEE8021x (SSID) function in systeminformation
systeminformation is a System and OS information library for node.js. In affected versions SSIDs are not sanitized when before they are passed as a parameter to cmd.exe in the `getWindowsIEEE8021x` function. This means that malicious content in the SSID can be executed as OS commands. This vulnerability may enable an attacker, depending on how the package is used, to perform remote code execution or local privilege escalation. This issue has been addressed in version 5.23.7 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
A flaw was found in the systeminformation library for Node.js. In Windows systems, the SSID parameter of the `getWi
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-12-20
Published