what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

raceDriver120.txt

raceDriver120.txt
Posted Jul 19, 2005
Authored by Luigi Auriemma | Site aluigi.altervista.org

Race Driver versions 1.20 and below suffer from multiple misuses of sprintf().

tags | advisory
SHA-256 | 02f796a6660bf052f315c2aec0a95aaaaad22a70850dd0539131767f449abbe5

raceDriver120.txt

Change Mirror Download

#######################################################################

Luigi Auriemma

Application: Race Driver
http://www.codemasters.com/tocaracedriver/
Versions: <= 1.20
Platforms: Windows
Bugs: A] broadcast format string
B] broadcast buffer-overflow
Exploitation: remote, versus any user in the public chat or through
malformed server replies (broadcast)
Date: 18 Jul 2005
Author: Luigi Auriemma
e-mail: aluigi@autistici.org
web: http://aluigi.altervista.org


#######################################################################


1) Introduction
2) Bug
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


Race Driver is a funny but poorly supported racing game developed and
published by Codemasters (http://www.codemasters.com).
It has been released in March 2003.


#######################################################################

======
2) Bug
======


Race Driver incorrectly uses sprintf() for building different types of
text strings usually used for the visualization of the data.
The places where this bad sprintf() can be exploited are at least 2:
the public chat hosted on the encrypted IRC server peerchat.gamespy.com
and the in-game server browser.

The public chat is a place used by Race Driver while the users wait for
a free server to join. The users automatically join it when they choose
to play on Internet from the Network menu... it is an useless but
forced stage.
Other than the messages in the channel the game supports also the
private messages (whispers) so an attacker can decide to attack a
specific user or just all the users in the room.

The in-game server browser instead is where are showed and ordered the
online servers through the informations received in their replies.

The sprintf() function is affected by two bugs: a format string and a
buffer-overflow caused by text strings of 264 chars.


#######################################################################

===========
3) The Code
===========


For testing the bugs through the chat is enough to use the same game or
an IRC client with a Peerchat proxy.
The example chat messages (or also nicknames) for exploiting the bugs
are the following:
%n%n%n
and

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaRETA

The raw names of the channels used by Race Driver are: #GPG!511 (the
main), #GPG!510, #GPG!508, #GPG!507, #GPG!506, #GPG!509, #GPG!513,
#GPG!512, #GPG!485, #GPG!486 and (for some milliseconds)
#GSP!racedriver

For testing the bugs through a malicious server you need only to host a
game with the name %n%n%n.


#######################################################################

======
4) Fix
======


This game is no longer supported.


#######################################################################


---
Luigi Auriemma
http://aluigi.altervista.org
Login or Register to add favorites

File Archive:

October 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    39 Files
  • 2
    Oct 2nd
    23 Files
  • 3
    Oct 3rd
    18 Files
  • 4
    Oct 4th
    20 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    17 Files
  • 8
    Oct 8th
    66 Files
  • 9
    Oct 9th
    25 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    21 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    14 Files
  • 15
    Oct 15th
    49 Files
  • 16
    Oct 16th
    28 Files
  • 17
    Oct 17th
    23 Files
  • 18
    Oct 18th
    10 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close