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 Apr 2021, 17:38

Type Values Removed Values Added
CWE CWE-276
CVSS v2 : unknown
v3 : unknown
v2 : 4.4
v3 : 7.8
CPE cpe:2.3:a:forescout:counteract:*:*:*:*:*:*:*:*
References (MISC) https://docs.forescout.com - (MISC) https://docs.forescout.com - Vendor Advisory
References (MISC) https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation - (MISC) https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation - Exploit, Third Party Advisory
References (MISC) https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ - (MISC) https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ - Exploit, Third Party Advisory

14 Apr 2021, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-14 15:15

Updated : 2023-12-10 13:55


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-427

Uncontrolled Search Path Element

CWE-59

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

CWE-732

Incorrect Permission Assignment for Critical Resource