CVE-2022-31479

published 6 Jun 2022 · updated 16 Sep 2024

Remote Code Execution via command injection of the hostname

9.6CriticalCVSS 9.6EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.296 and 1.302.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HID Mercury>=ALL <1.296, >=ALL <1.3021.296, 1.302
LenelS2>=ALL <1.296, >=ALL <1.3021.296, 1.302

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-31479 severity on Zeptric[![CVE-2022-31479](https://zeptric.io/badge/cve/CVE-2022-31479.svg)](https://zeptric.io/cve/CVE-2022-31479)