Skip to content

CVE-2022-31479 Remote Code Execution via command injection of the hostname

CriticalCVSS 9.8 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
LenelS2 LNL-X2210 < 1.302 1.302
LenelS2 LNL-X2220 < 1.302 1.302
LenelS2 LNL-X3300 < 1.302 1.302
LenelS2 LNL-X4420 < 1.302 1.302
LenelS2 LNL-4420 < 1.296 1.296
LenelS2 S2-LP-1501 < 1.302 1.302
LenelS2 S2-LP-1502 < 1.302 1.302
LenelS2 S2-LP-2500 < 1.302 1.302
LenelS2 S2-LP-4502 < 1.302 1.302
HID Mercury LP1501 < 1.302 1.302
HID Mercury LP1502 < 1.302 1.302
HID Mercury LP2500 < 1.302 1.302
HID Mercury LP4502 < 1.302 1.302
HID Mercury EP4502 < 1.296 1.296
hidglobal lp1501 firmware < 1.302 1.302
hidglobal lp1502 firmware < 1.302 1.302
hidglobal lp2500 firmware < 1.302 1.302
hidglobal lp4502 firmware < 1.302 1.302
hidglobal ep4502 firmware < 1.296 1.296
carrier lenels2 lnl-4420 firmware < 1.296 1.296
carrier lenels2 lnl-x2210 firmware < 1.302 1.302
carrier lenels2 lnl-x2220 firmware < 1.302 1.302
carrier lenels2 lnl-x3300 firmware < 1.302 1.302
carrier lenels2 lnl-x4420 firmware < 1.302 1.302
carrier lenels2 s2-lp-1501 firmware < 1.302 1.302
Show 3 more
ProductAffected versionsFixed in
carrier lenels2 s2-lp-1502 firmware < 1.302 1.302
carrier lenels2 s2-lp-2500 firmware < 1.302 1.302
carrier lenels2 s2-lp-4502 firmware < 1.302 1.302

References