Summary:
A vulnerability has been reported in the windows installer (MSI) built with InstallScript custom action. This vulnerability may allow privilege escalation when invoked ‘repair’ of the MSI which has an InstallScript custom action.
Description:
During MSI repair, InstallScript custom actions, if configured in the project, will be executed by extracting the InstallScript engine files to a unique folder in the user’s TEMP directory and then executed.
InstallScript engine files contain an executable named ISBEW64.EXE, which will be executed during the InstallScript code execution. So, during MSI repair, a low privilege user can invoke the operation and attain privilege escalation to “NT Authority/SYSTEM” by replacing ISBEW64.EXE in the TEMP folder with a malicious one.
Microsoft released a patch for the Windows Installer elevation of Privilege (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-1661), earlier this year. It is advised to apply this patch.
Resolution:
Privilege escalation during InstallScript custom action execution during MSI repair, has been fixed in InstallShield 2021 R2 release. You can download the release from your Product and License Center (PLC). Note: You must have a community login with PLC access to download this fix.
A hotfix is available for InstallShield 2020 R3 SP1 and InstallShield 2019 R3. You can download the hotfix here: InstallShield MSI Repair-Privilege Escalation Hotfix
Workaround:
1. Disable the repair option while building the MSI package.
2. Remove InstallScript custom actions or move to other type of custom actions.
Additional Information:
Thank you to Ronnie Salomonsen (Mandiant) for helping identify this vulnerability and disclosing it to Revenera under a responsible disclosure process.
Related Articles
Creating MSI Update Packages 11Number of Views The InstallAnywhere was created with Unlicensed version 8Number of Views Delete obsolete patch packages created in WSUS by Software Vulnerability Manager 19Number of Views CVE-2024-7562: Privilege Escalation Vulnerability in Created MSI Packages 127Number of Views CVE-2024-3310: Privilege Escalation Vulnerability During MSI Repair 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago