CVEvulnerability
CVE-2021-28098
7.8 HIGH
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
References
- https://docs.forescout.com Vendor Advisory
- https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ Exploit, Third Party Advisory
- https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation Exploit, Third Party Advisory
- https://docs.forescout.com Vendor Advisory
- https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ Exploit, Third Party Advisory
- https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation Exploit, Third Party Advisory