Security hole in the gedit plugin

Bug #307863 reported by Bertrand LERICHE
256
Affects Status Importance Assigned to Milestone
seahorse-plugins
Fix Released
High
seahorse-plugins (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: seahorse-plugins

gedit package: 2.24.2-0ubuntu1 (intrepid-updates)
seahorse-plugins package: 2.24.1-0ubuntu1 (intrepid)

All texts processed by the seahorse plugin for gedit are silently sent to gedit's standard output. Consequently, when gedit is launched via a launcher or the applications menu, all texts processed by the plugin, including decrypted text, are sent to the ~/.xsession-errors log file which is by default world readable.
Any other user in the system is thus able to read the decrypted text until another session is restarted and the ~/.xsession-errors file is overwritten. Moreover, the decrypted text having been written to disk, it is remotely possible to recover it with a disk analysis, depending on the circumstances, all that without the user being aware of it.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

I confirm the described issue. Encrypted/decrypted texts from gedit are logged in plaintext to the ~/.xsession-errors log. This is really unwanted behaviour.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you send it to bugzilla.gnome.org where the people writting the code will read it?

Changed in seahorse-plugins:
importance: Undecided → Medium
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: http://bugzilla.gnome.org/show_bug.cgi?id=573044

Changed in seahorse-plugins:
assignee: nobody → desktop-bugs
Revision history for this message
Andreas Moog (ampelbein) wrote :

Fixed upstream:

2009-02-24 Adam Schreiber <email address hidden>

    * plugins/gedit/seahorse-gedit.c: Don't print replacement text to stderr.
    Fixes bug #573044

Changed in seahorse-plugins:
status: New → Fix Committed
Changed in seahorse-plugins:
status: Unknown → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

Fixed with 2.25.92.

Changed in seahorse-plugins:
status: Fix Committed → Fix Released
Changed in seahorse-plugins:
importance: Unknown → High
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.