ZeroHour
Security Affairspublished ()ingested @securityaffairs

Expert disclosed an exploit for a new Windows zero

criticalExploit / PoCimportance 60CVE-2021-41379

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2021-41379
Local Privilege Escalation in Microsoft Windows Installer (CVE-2021-41379)

CVE-2021-41379 is an elevation of privilege flaw in the Microsoft Windows Installer service, rooted in improper link resolution before file access (CWE-59), where the privileged installer can be made to follow attacker-controlled file links. It is triggered by a local, low-privileged user who initiates a Windows Installer operation and manipulates the links or paths the installer resolves while running with elevated rights. A successful attacker gains elevated (SYSTEM-level) privileges on the affected machine, a common post-breach step in ransomware chains. The affected list spans essentially the entire supported Windows install base: Windows 7, 8.1 and RT 8.1, Windows 10 versions 1507 through 21H1, Windows 11 21H2, and Windows Server 2004. Exploitation is confirmed in the wild - CISA added the flaw to its Known Exploited Vulnerabilities catalog on 2022-03-03 with known ransomware use, and EPSS places it in the 97th percentile (19.4% probability of exploitation in 30 days) despite no public PoC being known.

Do: Apply Microsoft's security update for CVE-2021-41379 (delivered via the November 2021 monthly Windows cumulative updates) to all affected Windows 7/8.1/RT 8.1/10/11 and Windows Server systems and keep cumulative updates current. Because CISA's KEV entry cites known ransomware use and the flaw is exploitable by any local standard user, prioritize patching multi-user hosts, servers, and endpoints that allow standard (non-admin) logons; as an interim mitigation, restrict local logon rights on unpatched machines and ensure users operate without administrative privileges.

5.520% KEV ransomware
  • Microsoft Windows 10 1507 all supported builds at disclosure (pre-patch)
  • Microsoft Windows 10 1607 all supported builds at disclosure (pre-patch)
  • Microsoft Windows 10 1809 all supported builds at disclosure (pre-patch)
  • +9 more
mass≈1 billion+ Windows installations (effectively the entire supported Windows client and server install base)
Full article403 words · extracted from securityaffairs.com · click to collapse

Pierluigi Paganini November 23, 2021

A researcher publicly disclosed an exploit for a new Windows zero-day local privilege elevation that can allow gaining admin privileges.

A security researcher has publicly disclosed an exploit for a new Windows zero-day local privilege elevation vulnerability that can be exploited by threat actors to achieve admin privileges in Windows 10, Windows 11, and Windows Server, BleepingComputer reported. The vulnerability can be exploited by threat actors to elevate their privileges to carry out multiple malicious activities, it was discovered by the security researcher Abdelhamid Naceri who published a working proof-of-concept exploit for the new zero-day on GitHub.

Researchers from BleepingComputer successfully tested the “InstallerFileTakeOver” exploit published by Naceri.

Naceri discovered the zero-day flaw while analyzing a security patch released by Microsoft as part of the Patch Tuesday in November for another Windows Installer elevation of privilege vulnerability, tracked as CVE-2021-41379, that the researcher reported to Microsoft.

The expert was also able to bypass the patch issued by Microsoft.

“This variant was discovered during the analysis of CVE-2021-41379 patch. the bug was not fixed correctly, however, instead of dropping the bypass. I have chosen to actually drop this variant as it is more powerful than the original one.” wrote the expert. “I have also made sure that the proof of concept is extremely reliable and doesn’t require anything, so it works in every attempt. The proof of concept overwrite Microsoft Edge elevation service DACL and copy itself to the service location and execute it to gain elevated privileges. While this technique may not work on every installation, because windows installations such as server 2016 and 2019 may not have the elevation service. I deliberately left the code which take over file open, so any file specified in the first argument will be taken over with the condition that SYSTEM account must have access to it and the file mustn’t be in use. So you can elevate your privileges yourself.”

While working on the CVE-2021-41379 patch bypass, the expert has created 2 MSI packages to trigger a unique behavior in Windows installer service, one of them is the CVE-2021-41379 bypass.

Naceri told Bleeping Computer that he publicly disclosed the zero-day because of low payouts paid by Microsoft as part of its bug bounty program.

Follow me on Twitter: @securityaffairs and Facebook

[adrotate banner=”9″][adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, zero-day)

[adrotate banner=”5″]

[adrotate banner=”13″]



Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/124909/hacking/windows-zero-day-exploit.html