Local Privilege Escalation in cloudflared
cve-program · CVE-2020-24356
Published`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.
Read the publisher's advisoryeuvd · EUVD-2021-1103
Published`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.
Read the publisher's advisorynvd · CVE-2020-24356
Published`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.
Read the publisher's advisoryosv · GHSA-hgwp-4vp4-qmm2
PublishedIn `cloudflared` versions < 2020.8.1 (corresponding to 0.0.0-20200820025921-9323844ea773 on pkg.go.dev) on Windows, if an administrator has started `cloudflared` and set it to read configuration files from a certain directory, an unprivileged user can exploit a misconfiguration in order to escalate privileges and execute system-level commands. The misconfiguration was due to the way that `cloudflared` reads its configuration file. One of the locations that `cloudflared` reads from (C:\etc\) is not a secure by default directory due to the fact that Windows does not enforce access controls on this directory without further controls applied. A malformed config.yaml file can be written by any user. Upon reading this config, `cloudflared` would output an error message to a log file defined in the malformed config. The user-controlled log file location could be set to a specific location that Windows will execute when any user logs in.
Read the publisher's advisoryosv · GO-2022-0845
PublishedLocal Privilege Escalation in cloudflared in github.com/cloudflare/cloudflared
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-24356 · CVE overview and exploitation status
cve-program · CVE-2020-24356
euvd · EUVD-2021-1103
nvd · CVE-2020-24356
osv · GHSA-hgwp-4vp4-qmm2
- https://github.com/cloudflare/cloudflared/security/advisories/GHSA-hgwp-4vp4-qmm2
- https://nvd.nist.gov/vuln/detail/CVE-2020-24356
- https://github.com/cloudflare/cloudflared/commit/9323844ea773b1444460fa09295ab8c01a88d97e
- https://github.com/cloudflare/cloudflared
osv · GO-2022-0845
Related changes
Linked by CVE identifierNo related changes are available here.