CVE-2020-24356 Local Privilege Escalation in cloudflared
A local attacker can escalate privileges to execute commands as a privileged user on Windows systems using cloudflared.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-24356?
CVE-2020-24356 is a medium-severity vulnerability in cloudflared, published on 2 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
`cloudflared` versions prior to 2020.8.1 contain a local privilege escalation vulnerability on Windows systems. When run on a Windows system, `cloudflared` searches for configuration files which could be abused by a malicious entity to execute commands as a privileged user. Version 2020.8.1 fixes this issue.
Weakness: CWE-427
Which versions are affected by CVE-2020-24356?
3 open source packages ship an affected version, including github.com/cloudflare/cloudflared. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cloudflare/cloudflared Go | All versions | 0.0.0-20200820025921-9323844ea773 |
github.com/cloudflare/cloudflared Go | All versions | 0.0.0-20200820025921-9323844ea773 |
github.com/cloudflare/cloudflared Go | All versions | 0.0.0-20200820025921-9323844ea773 |
Products include Cloudflare Cloudflared.
How do I fix CVE-2020-24356?
Upgrade github.com/cloudflare/cloudflared to 0.0.0-20200820025921-9323844ea773 or later.
Is CVE-2020-24356 being exploited?
There is no known exploitation of CVE-2020-24356 in the wild and no public exploit code.
Other vulnerabilities in cloudflared
Sources
Also known as GHSA-hgwp-4vp4-qmm2, GO-2022-0845.