CVEvulnerability

CVE-2021-28098

7.8 HIGH Published 2021-04-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-04-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.4 MEDIUM — AV:L/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-427, CWE-59, CWE-732

Description

An issue was discovered in Forescout CounterACT before 8.1.4. A local privilege escalation vulnerability is present in the logging function. SecureConnector runs with administrative privileges and writes logs entries to a file in %PROGRAMDATA%\ForeScout SecureConnector\ that has full permissions for the Everyone group. Using a symbolic link allows an attacker to point the log file to a privileged location such as %WINDIR%\System32. The resulting log file adopts the file permissions of the source of the symbolic link (in this case, the Everyone group). The log file in System32 can be replaced and renamed with a malicious DLL for DLL hijacking.

Affected configurations

• forescout counteract (< 8.1.4)

Related

Weakness · CWE (3)

  • CWE-427 Uncontrolled Search Path Element weakness
  • CWE-59 Improper Link Resolution Before File Access weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References