CVE-2022-31486

Summary

An authenticated attacker can send a specially crafted route to the “edit_route.cgi” binary and have it execute shell commands. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.303 for the LP series and 1.297 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.

Affected Software

VendorProductVersion RangeStatus
LenelS2LNL-X2210ALL < 1.303affected
LenelS2LNL-X2220ALL < 1.303affected
LenelS2LNL-X3300ALL < 1.303affected
LenelS2LNL-X4420ALL < 1.303affected
LenelS2LNL-4420ALL < 1.297affected
LenelS2S2-LP-1501ALL < 1.303affected
LenelS2S2-LP-1502ALL < 1.303affected
LenelS2S2-LP-2500ALL < 1.303affected
LenelS2S2-LP-4502ALL < 1.303affected
HID MercuryLP1501ALL < 1.303affected
HID MercuryLP1502ALL < 1.303affected
HID MercuryLP2500ALL < 1.303affected
HID MercuryLP4502ALL < 1.303affected
HID MercuryEP4502ALL < 1.297affected

Weaknesses

  • CWE-78: CWE-78 OS Command Injection

Workarounds

Disable the controller's Web Server.
When the controller is configured to disable web access, you cannot remotely login into the controller’s web page.

  1. Login to controller web pages
  2. Go to “Users” Tab
  3. Near bottom of the Users page, check option to “Disable Web Server”
  4. Then select “Submit” at the bottom of the page
  5. Then select “Apply Settings” tab
  6. And on that page, select button “Apply Settings, Reboot” The Controller will apply the new setting and reboot. Web login will be disabled until switch 1 is physically turned ON, on the controller.

ADP Enrichment

CVE Program Container

Additional References

References