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.
References
Link | Resource |
---|---|
https://docs.forescout.com | Vendor Advisory |
https://www.adversis.io/research/2021/3/30/forescout-secure-connector-local-privilege-escalation | Exploit Third Party Advisory |
https://jordanpotti.com/2021/03/30/forescout-priv-esc-folder-permissions/ | Exploit Third Party Advisory |
Configurations
Information
Published : 2021-04-14 08:15
Updated : 2021-04-21 10:38
NVD link : CVE-2021-28098
Mitre link : CVE-2021-28098
JSON object : View
CWE
CWE-276
Incorrect Default Permissions
Products Affected
forescout
- counteract