CVE-2023-1314 json
Local Privilege Escalation Vulnerability in cloudflared's Installer
published 2023-03-21 3 y ago modified 2026-07-08 4 mo ago also GHSA-7mjv-x3jf-545x , GO-2023-1652 , EUVD-2023-0926
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
A vulnerability has been discovered in cloudflared's installer (<= 2023.3.0) for Windows 32-bits devices that allows a local attacker with no administrative permissions to escalate their privileges on the affected device. This vulnerability exists because the MSI installer used by cloudflared relied on a world-writable directory.
An attacker with local access to the device (without Administrator rights) can use symbolic links to trick the MSI installer into deleting files in locations that the attacker would otherwise have no access to. By creating a symlink from the world-writable directory to the target file, the attacker can manipulate the MSI installer's repair functionality to delete the target file during the repair process.
Exploitation of this vulnerability could allow an attacker to delete important system files or replace them with malicious files, potentially leading to the affected device being compromised.
The cloudflared client itself is not affected by this vulnerability, only the installer for 32-bit Windows devices.
Patch / fix
- go github.com/cloudflare/cloudflared 0.0.0-20230313153246-f686da832f85
- Cloudflare cloudflared 2023.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/cloudflare/cloudflared | <0.0.0-20230313153246-f686da832f85 |
0.0.0-20230313153246-f686da832f85 |
Affected products
- Cloudflare cloudflared
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/cloudflare/cloudflared/commit/9c15f31d003bebfbe6467c2b42972df3e7c9b886
web, patch
-
github.com
/cloudflare/cloudflared/security/advisories/GHSA-7mjv-x3jf-545x
web, vendor-advisory, advisory
-
github.com
/cloudflare/cloudflared/releases
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-1314
advisory
-
github.com
/cloudflare/cloudflared
package
Sources
- CVE List CVE-2023-1314
- GitHub Advisory GHSA-7mjv-x3jf-545x
- NVD CVE-2023-1314
- OSV GO-2023-1652
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.