Skip to content
OpenAdvisories
Critical · 9.6 CVE-2022-31479 EUVD-2022-52939GHSA-2pg7-j7hc-h682

Remote Code Execution via command injection of the hostname

Published Jun 6, 2022 · Updated Sep 16, 2024 · Assigned by Carrier

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.

Affected products

VendorProductAffectedFixed
LenelS2 LNL-X2210 ALL – < 1.302 1.302
LenelS2 LNL-X2220 ALL – < 1.302 1.302
LenelS2 LNL-X3300 ALL – < 1.302 1.302
LenelS2 LNL-X4420 ALL – < 1.302 1.302
LenelS2 LNL-4420 ALL – < 1.296 1.296
LenelS2 S2-LP-1501 ALL – < 1.302 1.302
LenelS2 S2-LP-1502 ALL – < 1.302 1.302
LenelS2 S2-LP-2500 ALL – < 1.302 1.302
LenelS2 S2-LP-4502 ALL – < 1.302 1.302
HID Mercury LP1501 ALL – < 1.302 1.302
HID Mercury LP1502 ALL – < 1.302 1.302
HID Mercury LP2500 ALL – < 1.302 1.302
HID Mercury LP4502 ALL – < 1.302 1.302
HID Mercury EP4502 ALL – < 1.296 1.296

Advisories 1

References