8.8high
On Windows, the uninstaller binary copies itself to a fixed temporary location, which is then executed (the originally called uninstaller e…
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.99% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
Description
On Windows, the uninstaller binary copies itself to a fixed temporary location, which is then executed (the originally called uninstaller exits, so it does not block the installation directory). This temporary location is not randomized and does not restrict access to Administrators only so a potential attacker could plant a binary to replace the copied binary right before it gets called, thus gaining Administrator privileges (if the original uninstaller was executed as Administrator). The vulnerability only affects Windows installers.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| VMware InstallBuilder | All InstallBuilder versions prior to version 21.6.0, before 21.6.0 | CVE List, NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
On Windows, the uninstaller binary copies itself to a fixed temporary location, which is then executed (the originally called uninstaller exits, so it does not block the installation directory). This temporary location is not randomized and does not restrict access to Administrators only so a potential attacker could plant a binary to replace the copied binary right before it gets called, thus gaining Administrator privileges (if the original uninstaller was executed as Administrator). The vulnerability only affects Windows installers.
NVD (es)
En Windows, el binario del desinstalador se copia a sí mismo en una ubicación temporal fija, que luego es ejecutada (el desinstalador originalmente llamado sale, por lo que no bloquea el directorio de instalación). Esta ubicación temporal no es aleatoria y no restringe el acceso sólo a administradores, por lo que un potencial atacante podría plantar un binario para reemplazar el binario copiado justo antes de que sea llamado, obteniendo así privilegios de administrador (si el desinstalador original fue ejecutado como administrador). La vulnerabilidad sólo afecta a los instaladores de Windows
References
| https://blog.installbuilder.com/2021/10/installbuilder-2160-released.html | release-notes, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22038 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22038 changed 2026-06-17 | Public domain |