Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-7240 Overview
CVE-2024-7240 is a local privilege escalation vulnerability in F-Secure Total that allows attackers to execute arbitrary code as SYSTEM. The flaw resides in the WithSecure plugin hosting service and stems from improper handling of symbolic links [CWE-59]. An attacker who can create files on the local system can abuse the service to create files in protected locations, leading to full system compromise. Exploitation requires user interaction from an administrator. The vulnerability was reported through the Zero Day Initiative (ZDI-CAN-23005) and documented in advisory ZDI-24-1012.
Critical Impact
A local attacker can escalate privileges from a standard user context to SYSTEM by abusing a symbolic link condition in the WithSecure plugin hosting service, enabling arbitrary code execution with full operating system control.
Affected Products
- F-Secure Total 19.2
- WithSecure plugin hosting service (bundled component)
- Windows installations of F-Secure Total prior to the vendor-supplied fix
Discovery Timeline
- 2024-11-22 - CVE-2024-7240 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-7240
Vulnerability Analysis
The vulnerability is a link following flaw [CWE-59] in the WithSecure plugin hosting service shipped with F-Secure Total. The service performs file operations in a privileged context without adequately validating whether target paths resolve through symbolic links. A local attacker who plants a crafted symlink in a predictable path can redirect those operations to arbitrary locations.
Because the service runs with SYSTEM privileges, the attacker-controlled file creation occurs with the same elevated permissions. This yields arbitrary file write primitives that can be chained into code execution, for example by writing or overwriting a DLL loaded by a privileged process. The attack requires an administrator to trigger the vulnerable code path, satisfying the user interaction requirement.
Root Cause
The root cause is the failure of the WithSecure plugin hosting service to canonicalize paths and verify link targets before writing files. The service treats directory entries as trusted, allowing a non-privileged user to interpose symbolic links that redirect privileged write operations. This is a classic Time-of-Check Time-of-Use (TOCTOU) pattern combined with insufficient reparse point handling on Windows.
Attack Vector
Exploitation is local and requires an authenticated user on the target machine. The attacker places a symbolic link, junction, or object manager link in a directory the plugin hosting service writes to. When an administrator triggers the vulnerable action, the service follows the attacker-controlled link and creates or modifies a file in a sensitive location such as a system directory. The attacker then leverages that file write to execute arbitrary code as SYSTEM. See the Zero Day Initiative Advisory ZDI-24-1012 for additional technical context.
// No verified proof-of-concept code is publicly available for CVE-2024-7240.
// Refer to ZDI-24-1012 for vendor-coordinated technical details.
Detection Methods for CVE-2024-7240
Indicators of Compromise
- Creation of symbolic links, junctions, or object manager links by non-privileged users in directories accessed by the WithSecure plugin hosting service.
- Unexpected file writes by the WithSecure plugin hosting service to system directories such as C:\Windows\System32 or program installation paths.
- New or modified DLLs in paths loaded by privileged F-Secure or Windows processes shortly after a plugin operation.
Detection Strategies
- Monitor process creation events for child processes spawned by the WithSecure plugin hosting service running as SYSTEM.
- Audit file system events for symlink and reparse point creation by standard user accounts in F-Secure working directories.
- Correlate administrator-initiated plugin operations with subsequent writes to sensitive paths outside the F-Secure install directory.
Monitoring Recommendations
- Enable Windows object access auditing (Event ID 4663) on F-Secure directories and relevant system paths.
- Collect Sysmon File Create (Event ID 11) and FileCreateStreamHash events for the service account used by F-Secure.
- Alert on reparse point creation events (Event ID 4664) originating from unprivileged processes.
How to Mitigate CVE-2024-7240
Immediate Actions Required
- Update F-Secure Total to the latest version provided by F-Secure that addresses CVE-2024-7240.
- Restrict local logon rights on systems running F-Secure Total to trusted users only, reducing the pool of potential attackers.
- Audit F-Secure installation directories and remove any unexpected symbolic links or reparse points.
Patch Information
F-Secure has coordinated remediation through the Zero Day Initiative disclosure process. Review the Zero Day Initiative Advisory ZDI-24-1012 and apply the fixed version of F-Secure Total through the vendor's standard update channel. Confirm the installed build is newer than F-Secure Total 19.2.
Workarounds
- Limit administrator-initiated plugin operations until the patch is deployed, since exploitation requires an administrator to trigger the vulnerable code path.
- Apply strict NTFS permissions on directories used by the WithSecure plugin hosting service to prevent non-privileged users from creating files or links.
- Disable the plugin hosting service on systems where it is not required, following vendor guidance.
# Verify installed F-Secure Total version on Windows
wmic product where "Name like 'F-Secure Total%%'" get Name,Version
# List reparse points in a target directory to detect symlink staging
dir /AL /S "C:\ProgramData\F-Secure"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

