en	[[!meta title="Security audit of Persistent Storage and Tor integration"]]

en	[[!meta date="Fri, 10 Nov 2023 17:00:00 +0000"]]

en	[[!pagetemplate template="news.tmpl"]]

en	[[!tag announce]]

en	[[!tag security/audit]]

en	In March 2023, [Radically Open Security](https://www.radicallyopensecurity.com/) conducted a security audit on the major improvements that we released in [[Tails 5.8|version_5.8]] (December 2022) on the Persistent Storage, the Unsafe Browser, and the Wayland integration.

en	To better protect our users, we addressed most of the security vulnerabilities as soon as they were discovered and reported to us, without waiting for the audit to be complete and public. We can now share with your the [final report](https://gitlab.tails.boum.org/tails/tails/uploads/df935595f41faa687805136a6bfa2910/tails-ros-penetration-test-report-1-2.pdf).

en	We are proud of the conclusion of the auditors:

en	> ***Overall, the Tails operating system left a solid impression and addressed > most of the concerns of an average user in need of anonymity.*** > > *This is particularly evident in the isolation of various components by the > developers. For example, the configured AppArmor rules often prevented a > significant impact of the found vulnerabilities. Shifting to Wayland was a > good decision, as it provides more security by isolating individual GUI > applications.* > > *All in all, no serious vulnerabilities were found through the integration > into Wayland. Unsafe Browser and Persistent Storage should now be less > vulnerable to attack, as all vulnerabilities have been fixed.*

en	The auditors found 6 *High*, 1 *Moderate*, 3 *Low*-severity issues. Another issue was fixed before the actual impact was assessed and so marked as having *Unknown* severity.

en	We fixed all these issues as soon as possible and before making them public on our GitLab. The last issue was fixed in 5.14, 3 weeks after it was reported to us.

en	As good as the results of this audit are, they also serve as a reminder that no software is ever 100% secure and that every release of Tails can fix critical security vulnerabilities. Your best protection against all kinds of attack is to keep your Tails up-to-date.

en	Because at Tails we believe that transparency is key to building trust, all the code of our software is public and the results of this audit as well. You can find below a summary of all the issues and their fixes.

en	Detailed findings

en	Tor integration

en	IDIssueDescriptionImpactStatusRelease TLS-012[[!tails_ticket 19585]]Leak clear IP as low-privileged user amnesiaHighFixed5.12 TLS-013[[!tails_ticket 19594]]Local privilege escalation to Tor Connection sandboxHighFixed5.12 TLS-014[[!tails_ticket 19595]]Local privilege escalation to Tor Browser sandboxModerateFixed5.13 TLS-017[[!tails_ticket 19610]]Insecure permissions of chroot overlayUnknownFixed5.13

en	Persistent Storage

en	IDIssueDescriptionImpactStatusRelease TLS-003[[!tails_ticket 19546]]Local privilege escalation in Persistent folder activation hookHighFixed5.11 TLS-004[[!tails_ticket 19547]]Symlink attack in Persistent folder deactivation hookLowFixed5.11 TLS-005[[!tails_ticket 19548]]Local privilege escalation in GnuPG feature activation hookHighFixed5.11

en	Core

en	IDIssueDescriptionImpactStatusRelease TLS-001[[!tails_ticket 19464]]Local privilege escalation in tails-shell-libraryHighFixed5.11 TLS-009[[!tails_ticket 19599]]Man-in-the-middle attack on onion-grater serviceLowFixed5.13 TLS-011[[!tails_ticket 19576]]Limited path traversal in tails-documentationLowFixed5.13 TLS-019[[!tails_ticket 19677]]Local privilege escalation in tailslib leads to arbitrary file readHighFixed5.14