Vulnerability · Published May 23, 2024 · Assigned by GitHub_M
CVE-2024-35222iFrames Bypass Origin Checks for Tauri API Access Control
Medium 5.9
In plain English
A medium-severity improper access control in tauri from tauri-apps. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 29% of all known vulnerabilities).
Official description
Tauri is a framework for building binaries for all major desktop platforms. Remote origin iFrames in Tauri applications can access the Tauri IPC endpoints without being explicitly allowed in the `dangerousRemoteDomainIpcAccess` in v1 and in the `capabilities` in v2. Valid commands with potentially unwanted consequences ("delete project", "transfer credits", etc.) could be invoked by an attacker that controls the content of an iframe running inside a Tauri app. This vulnerability has been patched in versions 1.6.7 and 2.0.0-beta.19.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tauri-apps | tauri | <= 1.6.6>= 2.0.0-beta.0, <= 2.0.0-beta.19 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
References
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7 x_refsource_CONFIRM
- https://github.com/tauri-apps/tauri/issues/8316 x_refsource_MISC