CVE-2021-28098
A local privilege escalation vulnerability is present in the logging function.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.41% probability · 35th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-59, CWE-427, CWE-732
- Affected
- forescout/counteract
- Source
- cve@mitre.org
References
- https://docs.forescout.comVendor 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-escalationExploit, Third Party Advisory
- https://docs.forescout.comVendor 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-escalationExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.