Local privilege escalation via writable DLL search path
Published Oct 7, 2021 · Updated Aug 3, 2024
Local privilege escalation in affected Windows releases of Octopus Server allows local users to execute code as Local System. A custom installation directory inherits a BUILTIN\Users ACL that lets unprivileged users add a poisoned CRYPTBASE.dll, which the Local System service loads. Exploitation requires a Windows custom-path installation and a service restart or reboot, after which attacker code runs with Local System privileges.
Summary
What happened
Local privilege escalation in affected Windows releases of Octopus Server allows local users to execute code as Local System. A custom installation directory inherits a BUILTIN\Users ACL that lets unprivileged users add a poisoned CRYPTBASE.dll, which the Local System service loads. Exploitation requires a Windows custom-path installation and a service restart or reboot, after which attacker code runs with Local System privileges.
The record
- CVE
- CVE-2021-26556
- Published
- Oct 7, 2021
- Updated
- Aug 3, 2024
- Vendor
- Octopus Deploy
- Product
- Octopus Server
- Classifications
- CWE-426, T1574.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 7, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.9 <unspecified
- Affected versionversion=2020.5.0 <unspecified
- Affected versionversion=unspecified <2020.4.229
- Affected versionversion=unspecified <2020.5.256
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- DeepSurface CRYPTBASE.dll side-loading demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo