CVE-2023-31134: Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
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.
[^open-redirect]: https://en.wikipedia.org/wiki/Openredirect
Other sources
Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, 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. 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. This issue has been patched in versions 1.0.9, 1.1.4, and 1.2.5. As a workaround, prevent arbitrary input in redirect features and/or only allow trusted websites access to the IPC.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the impact of CVE-2023-31134?
The impact of CVE-2023-31134 is that the Tauri IPC can be bypassed by redirecting an existing Tauri window to an external website, potentially exposing sensitive data.
Which versions of Tauri are affected by CVE-2023-31134?
Versions 1.0.0 to 1.0.9, 1.1.0 to 1.1.4, and 1.2.0 to 1.2.5 of Tauri are affected by CVE-2023-31134.
What is the severity rating of CVE-2023-31134?
CVE-2023-31134 has a severity rating of 5.4, which is considered medium.
How can I fix CVE-2023-31134?
To fix CVE-2023-31134, you should upgrade to Tauri version 1.2.5 if you are using 1.2.0 to 1.2.4, version 1.1.4 if you are using 1.1.0 to 1.1.3, or version 1.0.9 if you are using 1.0.0 to 1.0.8.
Where can I find more information about CVE-2023-31134?
You can find more information about CVE-2023-31134 in the following references: [Link 1](https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9), [Link 2](https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4), [Link 3](https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5).