Skip to content

Malicious projects or extensions can read and upload arbitrary files from disk

Moderate
GarboMuffin published GHSA-wg4p-vj7h-q82q Aug 17, 2023

Package

No package listed

Affected versions

< 1.8.0

Patched versions

1.8.0

Description

Impact

TurboWarp Desktop versions prior to version 1.8.0 allowed a malicious project or malicious custom extension (sandboxed or unsandboxed) to silently read arbitrary files from disk and upload them to a remote server due to the desktop app allowing unrestricted access to file:// and allowing unrestricted network access. The only required user interaction is opening the sb3 file or loading the extension. Pressing the green flag is not necessary.

The web version of TurboWarp is not affected.

Patches

The file:// access bug is resolved on TurboWarp Desktop 1.8.0 and later. Manually updating is likely to be required as many official distribution channels do not support automatic updates.

Additional mitigations are being developed for future versions.

Workarounds

Avoid opening sb3 files or loading custom extensions from untrusted sources such as those sent over chat messaging apps.

References

  • This was originally intended to be fixed by f0f82aa but was reverted by a62dbd7 for causing regressions
  • It was ultimately fixed by 55e07e9

Severity

Moderate
6.3
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

CVE ID

CVE-2023-40168

Weaknesses

No CWEs