A high-severity security flaw has been disclosed in N-In a position’s Take Management Agent that may very well be exploited by an area unprivileged attacker to achieve SYSTEM privileges.
Tracked as CVE-2023-27470 (CVSS rating: 8.8), the difficulty pertains to a Time-of-Examine to Time-of-Use (TOCTOU) race situation vulnerability, which, when efficiently exploited, may very well be leveraged to delete arbitrary information on a Home windows system.
The security shortcoming, which impacts variations 7.0.41.1141 and prior, has been addressed in model 7.0.43 launched on March 15, 2023, following accountable disclosure by Mandiant on February 27, 2023.
Time-of-Examine to Time-of-Use falls below a class of software program flaws whereby a program checks the state of a useful resource for a particular worth, however that worth modifications earlier than it is truly used, successfully invalidating the outcomes of the verify.
An exploitation of such a flaw may end up in a lack of integrity and trick this system into performing actions that it should not in any other case, thereby allowing a menace actor to achieve entry to unauthorized sources.
“This weak point will be security-relevant when an attacker can affect the state of the useful resource between verify and use,” in response to an outline within the Frequent Weak point Enumeration (CWE) system. “This will occur with shared sources equivalent to information, reminiscence, and even variables in multithreaded packages.”
In line with the Google-owned menace intelligence agency, CVE-2023-27470 arises from a TOCTOU race situation within the Take Management Agent (BASupSrvcUpdater.exe) between logging a number of file deletion occasions (e.g., information named aaa.txt and bbb.txt) and every delete motion from a particular folder named “C:ProgramDataGetSupportService_N-CentralPushUpdates.”
“To place it merely, whereas BASupSrvcUpdater.exe logged the deletion of aaa.txt, an attacker may swiftly change the bbb.txt file with a symbolic hyperlink, redirecting the method to an arbitrary file on the system,” Mandiant security researcher Andrew Oliveau stated.
“This motion would trigger the method to unintentionally delete information as NT AUTHORITYSYSTEM.”
Much more troublingly, this arbitrary file deletion may very well be weaponized to safe an elevated Command Immediate by profiting from a race situation assault concentrating on the Home windows installer’s rollback performance, doubtlessly resulting in code execution.
“Arbitrary file deletion exploits are not restricted to [denial-of-service assaults and might certainly function a method to realize elevated code execution,” Oliveau stated, including such exploits will be mixed with “MSI’s rollback performance to introduce arbitrary information into the system.”
“A seemingly innocuous strategy of logging and deleting occasions inside an insecure folder can allow an attacker to create pseudo-symlinks, deceiving privileged processes into working actions on unintended information.”