CVE-2021-28098

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:forescout:counteract:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:59

Type Values Removed Values Added
References () https://docs.forescout.com - Vendor Advisory () https://docs.forescout.com - Vendor Advisory
References () https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ - Exploit, Third Party Advisory () https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ - Exploit, Third Party Advisory
References () https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation - Exploit, Third Party Advisory () https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation - Exploit, Third Party Advisory

Information

Published : 2021-04-14 15:15

Updated : 2024-11-21 05:59


NVD link : CVE-2021-28098

Mitre link : CVE-2021-28098

CVE.ORG link : CVE-2021-28098


JSON object : View

Products Affected

forescout

  • counteract
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-427

Uncontrolled Search Path Element

CWE-732

Incorrect Permission Assignment for Critical Resource