CVE-2022-31479

Remote Code Execution via command injection of the hostname

State
Published
Severity
9.6 Critical
Published
Jun 6, 2022
Updated
Sep 16, 2024
Reserved
May 23, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.6 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HCarrier

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
LNL-X2210LenelS2
  • ALL to before 1.302Affected
LNL-X2220LenelS2
  • ALL to before 1.302Affected
LNL-X3300LenelS2
  • ALL to before 1.302Affected
LNL-X4420LenelS2
  • ALL to before 1.302Affected
LNL-4420LenelS2
  • ALL to before 1.296Affected
S2-LP-1501LenelS2
  • ALL to before 1.302Affected
S2-LP-1502LenelS2
  • ALL to before 1.302Affected
S2-LP-2500LenelS2
  • ALL to before 1.302Affected
S2-LP-4502LenelS2
  • ALL to before 1.302Affected
LP1501HID Mercury
  • ALL to before 1.302Affected
LP1502HID Mercury
  • ALL to before 1.302Affected
LP2500HID Mercury
  • ALL to before 1.302Affected
LP4502HID Mercury
  • ALL to before 1.302Affected
EP4502HID Mercury
  • ALL to before 1.296Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.