A high-severity security vulnerability      , known as CVE-2023-27470      , has been disclosed in N-Able’s Take Control Agent      . This flaw allows local unprivileged attackers to escalate privileges through a Time-of-Check-to-Time-of-Use (TOCTOU) race condition      .
By exploiting this flaw  , attackers can delete arbitrary files on Windows systems      . The vulnerability has a CVSS score of 8.8 . The affected versions are 22.214.171.1241 and earlier    , but the issue has been resolved in version 7.0.43  , which was released on March 15, 2023. The vulnerability was disclosed by Mandiant on February 27, 2023  .
The vulnerability was discovered using Microsoft’s Process Monitor (ProcMon) and is caused by insecure file operations conducted by NT AUTHORITY\SYSTEM processes . Specifically, the process BASupSrvcUpdater.exe, belonging to Take Control Agent version 126.96.36.1991 , was analyzed. To mitigate this vulnerability , it is recommended for organizations using N-able to upgrade to version 7.0.43 .
Attackers can exploit the arbitrary file deletion to achieve elevated code execution by exploiting a race condition attack on the Windows installer’s rollback functionality . Additionally, this vulnerability enables attackers to gain SYSTEM privileges. It is important to note that the exploit can introduce arbitrary files into the system, allowing attackers to deceive privileged processes into executing actions on unintended files by creating pseudo-symlinks through the logging and deletion of events within an insecure folder . The flaw can be combined with MSI’s rollback functionality to introduce unauthorized files into the system  . The exploit involves logging multiple file deletion events and replacing one of the files with a symbolic link  , redirecting the process to an arbitrary file on the system  . This flaw highlights the risk of combining arbitrary file deletion with MSI’s rollback functionality to introduce unauthorized files into the system .
This security vulnerability in N-Able’s Take Control Agent poses a significant risk to Windows systems, as it allows local unprivileged attackers to escalate privileges and delete arbitrary files. Organizations using N-able are strongly advised to upgrade to version 7.0.43 to mitigate this vulnerability. The exploit of this flaw can lead to elevated code execution and the gaining of SYSTEM privileges. It is crucial to be aware of the potential introduction of arbitrary files into the system and the deceptive actions that can be executed on unintended files. The combination of arbitrary file deletion with MSI’s rollback functionality further increases the risk of introducing unauthorized files into the system.