What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Carrier Lenels2 Lnl-4420 Firmware 1.296; Carrier Lenels2 Lnl-X2210 Firmware 1.302; Carrier Lenels2 Lnl-X2220 Firmware 1.302; Carrier Lenels2 Lnl-X3300 Firmware 1.302; Carrier Lenels2 Lnl-X4420 Firmware 1.302; Carrier Lenels2 S2-Lp-1501 Firmware 1.302; Carrier Lenels2 S2-Lp-1502 Firmware 1.302; Carrier Lenels2 S2-Lp-2500 Firmware 1.302; Carrier Lenels2 S2-Lp-4502 Firmware 1.302; Hidglobal Ep4502 Firmware 1.296; Hidglobal Lp1501 Firmware 1.302; Hidglobal Lp1502 Firmware 1.302. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31479 or the next vulnerability affects your stack