ghsa-4wm2-cwcf-wwvp
Vulnerability from github
Impact
The Tauri IPC is usually strictly isolated from external websites but the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect^open-redirect.
This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands.
Patches
This issue has been patched in the latest release and was backported to all previous 1.x
releases.
Workarounds
Prevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.
References
The feature to enable this behavior in a more constrained way was introduced in the 1.3
release and documentation around this can be found in the documentation.
{ "affected": [ { "package": { "ecosystem": "crates.io", "name": "tauri" }, "ranges": [ { "events": [ { "introduced": "1.0.0" }, { "fixed": "1.0.9" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "crates.io", "name": "tauri" }, "ranges": [ { "events": [ { "introduced": "1.1.0" }, { "fixed": "1.1.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "crates.io", "name": "tauri" }, "ranges": [ { "events": [ { "introduced": "1.2.0" }, { "fixed": "1.2.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-31134" ], "database_specific": { "cwe_ids": [ "CWE-601" ], "github_reviewed": true, "github_reviewed_at": "2023-05-03T21:57:22Z", "nvd_published_at": "2023-05-09T14:15:13Z", "severity": "MODERATE" }, "details": "### Impact\nThe Tauri IPC is usually strictly isolated from external websites but the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect[^open-redirect].\n\nThis allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands.\n\n### Patches\nThis issue has been patched in the latest release and was backported to all previous `1.x` releases.\n\n### Workarounds\nPrevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.\n\n### References\n\nThe feature to enable this behavior in a more constrained way was introduced in the `1.3` release and documentation around this can be found in the [documentation](https://tauri.app/v1/api/config/#securityconfig.dangerousremotedomainipcaccess).\n\n[^open-redirect]: [https://en.wikipedia.org/wiki/Open_redirect](https://en.wikipedia.org/wiki/Open_redirect)\n", "id": "GHSA-4wm2-cwcf-wwvp", "modified": "2023-05-03T21:57:22Z", "published": "2023-05-03T21:57:22Z", "references": [ { "type": "WEB", "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31134" }, { "type": "WEB", "url": "https://github.com/tauri-apps/tauri/commit/9c0593c33af52cd9e00ec784d15f63efebdf039c" }, { "type": "WEB", "url": "https://en.wikipedia.org/wiki/Open_redirect" }, { "type": "PACKAGE", "url": "https://github.com/tauri-apps/tauri" }, { "type": "WEB", "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9" }, { "type": "WEB", "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4" }, { "type": "WEB", "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5" }, { "type": "WEB", "url": "https://tauri.app/v1/api/config/#securityconfig.dangerousremotedomainipcaccess" }, { "type": "WEB", "url": "https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767" }, { "type": "WEB", "url": "https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.