Vulnerability · Published Jun 6, 2022 · Assigned by Carrier

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

Critical 9.6

In plain English

A critical-severity security flaw in EP4502 from HID Mercury. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities).

Severity (CVSS 3.1)9.6Critical
Exploit odds (30 days)2.4%top 15.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 (as reported)

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

Weakness: CWE-693 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References