CVE-2022-31483
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Summary
An authenticated attacker can upload a file with a filename including “..” and “/” to achieve the ability to upload the desired file anywhere on the filesystem. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.271. This allows a malicious actor to overwrite sensitive system files and install a startup service to gain remote access to the underlaying Linux operating system with root privileges.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| LenelS2 | LNL-X2210 | ALL < 1.271 | affected |
| LenelS2 | LNL-X2220 | ALL < 1.271 | affected |
| LenelS2 | LNL-X3300 | ALL < 1.271 | affected |
| LenelS2 | LNL-X4420 | ALL < 1.271 | affected |
| LenelS2 | LNL-4420 | ALL < 1.271 | affected |
| LenelS2 | S2-LP-1501 | ALL < 1.271 | affected |
| LenelS2 | S2-LP-1502 | ALL < 1.271 | affected |
| LenelS2 | S2-LP-2500 | ALL < 1.271 | affected |
| LenelS2 | S2-LP-4502 | ALL < 1.271 | affected |
| HID Mercury | LP1501 | ALL < 1.271 | affected |
| HID Mercury | LP1502 | ALL < 1.271 | affected |
| HID Mercury | LP2500 | ALL < 1.271 | affected |
| HID Mercury | LP4502 | ALL < 1.271 | affected |
| HID Mercury | EP4502 | ALL < 1.271 | affected |
Weaknesses
- CWE-22: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
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.
- Login to controller web pages
- Go to “Users” Tab
- Near bottom of the Users page, check option to “Disable Web Server”
- Then select “Submit” at the bottom of the page
- Then select “Apply Settings” tab
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.