CVE-2022-31479
Remote Code Execution via command injection of the hostname
- State
- Published
- Severity
- 9.6 Critical
- Published
- Jun 6, 2022
- Updated
- Sep 16, 2024
- Reserved
- May 23, 2022
Description
An unauthenticated attacker can update the hostname with a specially crafted name that will allow for shell commands to be executed during the core collection process. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.302 for the LP series and 1.296 for the EP series. An attacker with this level of access on the device can monitor all communications sent to and from this device, modify onboard relays, change configuration files, or cause the device to become unstable. The injected commands only get executed during start up or when unsafe calls regarding the hostname are used. This allows the attacker to gain remote access to the device and can make their persistence permanent by modifying the filesystem.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.6 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | Carrier |
Weaknesses
- CWE-693 Protection Mechanism Failure
Affected Products
| Product | Versions |
|---|---|
LNL-X2210LenelS2 |
|
LNL-X2220LenelS2 |
|
LNL-X3300LenelS2 |
|
LNL-X4420LenelS2 |
|
LNL-4420LenelS2 |
|
S2-LP-1501LenelS2 |
|
S2-LP-1502LenelS2 |
|
S2-LP-2500LenelS2 |
|
S2-LP-4502LenelS2 |
|
LP1501HID Mercury |
|
LP1502HID Mercury |
|
LP2500HID Mercury |
|
LP4502HID Mercury |
|
EP4502HID Mercury |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.