CVE-2022-31479
Remote Code Execution via command injection of the hostname
Mitigation
- Upgrade LNL-X2210 to 1.302 or later.
- Upgrade LNL-X2220 to 1.302 or later.
- Upgrade LNL-X3300 to 1.302 or later.
- Upgrade LNL-X4420 to 1.302 or later.
- Upgrade LNL-4420 to 1.296 or later.
- Upgrade S2-LP-1501 to 1.302 or later.
- Upgrade S2-LP-1502 to 1.302 or later.
- Upgrade S2-LP-2500 to 1.302 or later.
- Vendor workaround: 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.
Who should check
- Anyone running LenelS2 LNL-X2210 >= ALL, < 1.302
- Anyone running LenelS2 LNL-X2220 >= ALL, < 1.302
- Anyone running LenelS2 LNL-X3300 >= ALL, < 1.302
- Anyone running LenelS2 LNL-X4420 >= ALL, < 1.302
- Anyone running LenelS2 LNL-4420 >= ALL, < 1.296
- Anyone running LenelS2 S2-LP-1501 >= ALL, < 1.302
- Anyone running LenelS2 S2-LP-1502 >= ALL, < 1.302
- Anyone running LenelS2 S2-LP-2500 >= ALL, < 1.302
Vulnerability facts
- Affected
- LenelS2 LNL-X2210 >= ALL, < 1.302; LenelS2 LNL-X2220 >= ALL, < 1.302; LenelS2 LNL-X3300 >= ALL, < 1.302; LenelS2 LNL-X4420 >= ALL, < 1.302; LenelS2 LNL-4420 >= ALL, < 1.296; LenelS2 S2-LP-1501 >= ALL, < 1.302; LenelS2 S2-LP-1502 >= ALL, < 1.302; LenelS2 S2-LP-2500 >= ALL, < 1.302; LenelS2 S2-LP-4502 >= ALL, < 1.302; HID Mercury LP1501 >= ALL, < 1.302; HID Mercury LP1502 >= ALL, < 1.302; HID Mercury LP2500 >= ALL, < 1.302; HID Mercury LP4502 >= ALL, < 1.302; HID Mercury EP4502 >= ALL, < 1.296
- Fixed in
- LenelS2 LNL-X2210 1.302, LenelS2 LNL-X2220 1.302, LenelS2 LNL-X3300 1.302, LenelS2 LNL-X4420 1.302, LenelS2 LNL-4420 1.296, LenelS2 S2-LP-1501 1.302, LenelS2 S2-LP-1502 1.302, LenelS2 S2-LP-2500 1.302, LenelS2 S2-LP-4502 1.302, HID Mercury LP1501 1.302, HID Mercury LP1502 1.302, HID Mercury LP2500 1.302, HID Mercury LP4502 1.302, HID Mercury EP4502 1.296
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.98% chance of exploitation in 30 days (percentile 81, 2026-11-26)
- CWE
- CWE-693
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| LenelS2 LNL-X2210 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 LNL-X2220 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 LNL-X3300 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 LNL-X4420 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 LNL-4420 | >= ALL, < 1.296 | — | cvelist |
| LenelS2 S2-LP-1501 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 S2-LP-1502 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 S2-LP-2500 | >= ALL, < 1.302 | — | cvelist |
| LenelS2 S2-LP-4502 | >= ALL, < 1.302 | — | cvelist |
| HID Mercury LP1501 | >= ALL, < 1.302 | — | cvelist |
| HID Mercury LP1502 | >= ALL, < 1.302 | — | cvelist |
| HID Mercury LP2500 | >= ALL, < 1.302 | — | cvelist |
| HID Mercury LP4502 | >= ALL, < 1.302 | — | cvelist |
| HID Mercury EP4502 | >= ALL, < 1.296 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-31479. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-31479.md Affected: LenelS2 LNL-X2210 >= ALL, < 1.302; LenelS2 LNL-X2220 >= ALL, < 1.302; LenelS2 LNL-X3300 >= ALL, < 1.302; LenelS2 LNL-X4420 >= ALL, < 1.302; LenelS2 LNL-4420 >= ALL, < 1.296; LenelS2 S2-LP-1501 >= ALL, < 1.302; LenelS2 S2-LP-1502 >= ALL, < 1.302; LenelS2 S2-LP-2500 >= ALL, < 1.302; LenelS2 S2-LP-450… Fixed in: LenelS2 LNL-X2210 1.302, LenelS2 LNL-X2220 1.302, LenelS2 LNL-X3300 1.302, LenelS2 LNL-X4420 1.302, LenelS2 LNL-4420 1.296, LenelS2 S2-LP-1501 1.302, LenelS2 S2-LP-1502 1.302, LenelS2 S2-LP-2500 1.302, LenelS2 S2-LP-4502 1.302, HID Mercury LP1501 1.302, HID Mercury LP1502 1.302, HID Mercury LP2500 … Steps: 1. Search this machine and project for LenelS2 LNL-X2210, LenelS2 LNL-X2220, LenelS2 LNL-X3300, LenelS2 LNL-X4420, LenelS2 LNL-4420, LenelS2 S2-LP-1501: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-31479 being exploited?
There is no confirmed exploitation: CVE-2022-31479 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-31479?
Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-31479?
LenelS2 LNL-X2210 >= ALL, < 1.302; LenelS2 LNL-X2220 >= ALL, < 1.302; LenelS2 LNL-X3300 >= ALL, < 1.302; LenelS2 LNL-X4420 >= ALL, < 1.302; LenelS2 LNL-4420 >= ALL, < 1.296; LenelS2 S2-LP-1501 >= ALL, < 1.302; LenelS2 S2-LP-1502 >= ALL, < 1.302; LenelS2 S2-LP-2500 >= ALL, < 1.302; LenelS2 S2-LP-4502 >= ALL, < 1.302; HID Mercury LP1501 >= ALL, < 1.302; HID Mercury LP1502 >= ALL, < 1.302; HID Mercury LP2500 >= ALL, < 1.302; HID Mercury LP4502 >= ALL, < 1.302; HID Mercury EP4502 >= ALL, < 1.296.
Is there a fix for CVE-2022-31479?
Yes. Fixed in LenelS2 LNL-X2210 1.302, LenelS2 LNL-X2220 1.302, LenelS2 LNL-X3300 1.302, LenelS2 LNL-X4420 1.302, LenelS2 LNL-4420 1.296, LenelS2 S2-LP-1501 1.302, LenelS2 S2-LP-1502 1.302, LenelS2 S2-LP-2500 1.302, LenelS2 S2-LP-4502 1.302, HID Mercury LP1501 1.302, HID Mercury LP1502 1.302, HID Mercury LP2500 1.302, HID Mercury LP4502 1.302, HID Mercury EP4502 1.296. Upgrade LNL-X2210 to 1.302 or later. Upgrade LNL-X2220 to 1.302 or later. Upgrade LNL-X3300 to 1.302 or later. Upgrade LNL-X4420 to 1.302 or later. Upgrade LNL-4420 to 1.296 or later. Upgrade S2-LP-1501 to 1.302 or later. Upgrade S2-LP-1502 to 1.302 or later. Upgrade S2-LP-2500 to 1.302 or later. Vendor workaround: 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.
How do I check if I'm affected by CVE-2022-31479?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.