cve.bz

CVE-2022-31479 OS Command Injection

9.8 criticalEPSS 2.4%

Critical (9.8). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-693 Protection Mechanism Failure
OWASP Top 10
A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31479 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31479?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31479?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31479 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
LenelS2 LNL-X2210from ALL before 1.302
LenelS2 LNL-X2220from ALL before 1.302
LenelS2 LNL-X3300from ALL before 1.302
LenelS2 LNL-X4420from ALL before 1.302
LenelS2 LNL-4420from ALL before 1.296
LenelS2 S2-LP-1501from ALL before 1.302
LenelS2 S2-LP-1502from ALL before 1.302
LenelS2 S2-LP-2500from ALL before 1.302
LenelS2 S2-LP-4502from ALL before 1.302
HID Mercury LP1501from ALL before 1.302
HID Mercury LP1502from ALL before 1.302
HID Mercury LP2500from ALL before 1.302
HID Mercury LP4502from ALL before 1.302
HID Mercury EP4502from ALL before 1.296

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-153-01Carrier LenelS2 HID Mercury access panels2022-06-02Commercial FacilitiesHID Mercury access panels sold by LenelS2 - LNL-X2210, HID Mercury access panels sold by LenelS2 - LNL-X2220, HID Mercury access panels sold by LenelS2 - LNL-X3300 and 6 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17).

References

Check your stackJSON