Juniper Networks Juniper Identity Management Service (JIMS) for Windows contains a local privilege escalation vulnerability prior to version 1.4.
High - Exploiting the vulnerability will give a local unprivileged attacker SYSTEM level privileges.
Medium - Any authenticated local user can exploit the vulnerability and an exploit is trivial to produce.
CVE-2022-22187
CWE-379: Creation of Temporary File in Directory with Insecure Permissions
Base Score: 7.8 - Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The installation of the agent uses the Windows Installer framework and an MSI file is cached in c:\windows\installer. An unprivileged user can trigger a repair operation, either by using the Windows Installer API or by running "msiexec.exe /fa c:\windows\installer\[XXXXX].msi".
Running a repair operation will trigger a number of file operations in the %TEMP% folder of the user triggering the repair. Some of these operations will be performed from a SYSTEM context (started via the Windows Installer service), including the execution of temporary files.
The issue was fixed in version 1.4. Update to this version to address the vulnerability.
- Ronnie Salomonsen, Mandiant
- 30-Sep-2021 - Issue reported to Juniper Networks
- 15-Nov-2021 - Issue confirmed by Juniper Networks and a fix scheduled for June 8, 2022.
- 8-Jun-2022 - Patched version released by Juniper Networks