Skip to content

GHSA-c5cf-79w8-pvfh

CVE Information

Impact

Malicious sandboxed applications can use the FileTransfer.RetrieveFiles method to redirect drag-and-drop and copy-paste data targeted at other applications to itself.

Description

Some portals generate tokens which provide access to resources. The sharing of the token transfers access to the resource and is supposed to happen out of band. The tokens were generated with g_random_int or g_uuid_string_random, both of which use GLib's GRand based on the Mersenne Twister PRNG which created a stream of reproducible random numbers. By generating enough tokens, the state of the GRand can be recover and with it, the next tokens can be predicted.

Patches

The issue has been patched in version 1.22.1.

Mitigations

No known mitigation other than updating.

Credits

Independently reported by John Cartwright and evilrabbit.