Paper/Archive/CVE-2022-31479

CVE-2022-31479

LenelS2 LNL-X2210 — Remote Code Execution via command injection of the hostname

Description · from the CVE record

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

ProductAffectedFixed inSource
LNL-X2210ALL – < 1.3021.302CNA
LNL-X2220ALL – < 1.3021.302CNA
LNL-X3300ALL – < 1.3021.302CNA
LNL-X4420ALL – < 1.3021.302CNA
LNL-4420ALL – < 1.2961.296CNA
S2-LP-1501ALL – < 1.3021.302CNA
S2-LP-1502ALL – < 1.3021.302CNA
S2-LP-2500ALL – < 1.3021.302CNA
S2-LP-4502ALL – < 1.3021.302CNA
LP1501ALL – < 1.3021.302CNA
LP1502ALL – < 1.3021.302CNA
LP2500ALL – < 1.3021.302CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Carrier (CNA)9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References

refcorporate.carrier.com/product-security/advisories-resources