hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Gurou
Need for Speed 2 Remote Client Buffer Overflow Exploit

http://www.k-otik.com/exploits/01.23.nfshp2cbof.c.php

biggrin.gif
andydis
yea i saw this posted just this min,

doesnt compile under cygwin;

nfs.c:194: error: redefinition of `std_err'
nfs.c:176: error: `std_err' previously defined here
nfs.c:252:2: warning: no newline at end of file
BuzzDee
hmm compiling didnt work :/
could anyone post a compiled exploit? would be gr8! biggrin.gif

which port do u have to scan for? is it 61220 or 8511? 8511 right?

greetz
peter_BB
well i have to ask what do u want to use this for? the chance to find a computer thats playing need for speed 2 is very low and anyway the game is old so the chance is even lower...
just for fun id say
Copkill
doesnt compile under Msc++6 sad.gif
Reaper527
Compiling...
nfs2hp.c
\nfs2hp.c(133) : error C2065: 'wsadata' : undeclared identifier
\nfs2hp.c(133) : warning C4133: 'function' : incompatible types - from 'int *__w64 ' to 'LPWSADATA'
\nfs2hp.c(135) : error C2275: 'WSADATA' : illegal use of this type as an expression
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(347) : see declaration of 'WSADATA'
\nfs2hp.c(135) : error C2146: syntax error : missing ';' before identifier 'wsadata'
\nfs2hp.c(135) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
\nfs2hp.c(135) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
\nfs2hp.c(135) : error C2143: syntax error : missing ';' before 'identifier'
\nfs2hp.c(136) : warning C4244: '=' : conversion from 'SOCKET' to 'int', possible loss of data

sad.gif
something i noticed that was one of the files that it had set for include (i think it was winerr.h, either way its the one thats included with "" instead of <>) is accually at the bottom of the exploit, so if you don't comment out that include line you get an error saying some things are defined more then once. if anyone has any luck with VC++.net let me know, i'm have no luck with this one sad.gif
Reaper527
update for anyone having trouble compiling this, i still haven't found a way to compile it yet, but if you go to the website in the exploit source (http://aluigi.altervista.org/) and then click the advisories link on the left of the page, and go down to the very bottom of the list that brings up, you should see this exploit, and one of the choices is POC, chose this and you'll get a zip with the source as well as a compiled version.
Train25
Doesn't need for speed underground use the same port being 242? If so this could be worth a closer look as this is a very popular game
vnet576
Heh...yeh thats nice, we'll see all these script kiddies exploiting each other whenever one beats the other in a race.
BuzzDee
the exploit is strange....

look this is what i get with the compiled exploit:

CODE

D:\hack\nfs>nfs

Need for Speed Hot pursuit 2 <= 242 client's buffer overflow 0.1
by Luigi Auriemma
e-mail: aluigi@altervista.org
web: http://aluigi.altervista.org


Usage: nfs <version>

Version:
240 = this is the default (1.0) and more diffused version
242 = the latest patched version, rarely used by players



so where is the ip to be put???

when i type "nfs.exe 240" i get:

CODE

D:\hack\nfs>nfs 240

Need for Speed Hot pursuit 2 <= 242 client's buffer overflow 0.1
by Luigi Auriemma
e-mail: aluigi@altervista.org
web: http://aluigi.altervista.org

Selected version 240 (nver 18022640)

Binding UDP port 61220
The return address will be overwritten with 0xdeadc0de
Clients:





so what is to do with that exploit.... could it be a local exploit?

buzz
Train25
QUOTE (BuzzDee @ Jan 23 2004, 05:28 PM)
Binding UDP port 61220
The return address will be overwritten with 0xdeadc0de
Clients:

so what is to do with that exploit.... could it be a local exploit?

buzz

Reading quickly over the code it seems at this point you would enter the IP address of the remote where you see "Clients:"

Depending on what port which was open would depend on what version you would run (ex. Version: nfs 240 or nfs 242)
240 = this is the default (1.0) and more diffused version
242 = the latest patched version, rarely used by players

A little backwards in coding but none the less interesting to see if it works...still trying it on this end
XtrA
how can it help?
no one playing it..
320X

Need for Speed Hot pursuit 2 <= 242 client's buffer overflow 0.1
by Luigi Auriemma
e-mail: aluigi@altervista.org
web: http://aluigi.altervista.org


Usage: C:\Documents and Settings\Chacal\Escritorio\Debug\NeedForSpeedRemoteClientOverflow.exe <version>

Version:
240 = this is the default (1.0) and more diffused version
242 = the latest patched version, rarely used by players

------------------------------------------------------------------------------------------------

you need to define the remote address hear
"0000" // return address
BuzzDee
did anyone succeed with that exploit by now?

chris105
QUOTE (vnet576 @ Jan 23 2004, 08:56 PM)
Heh...yeh thats nice, we'll see all these script kiddies exploiting each other whenever one beats the other in a race.

yeah cant wait ...... rolleyes.gif
Nexcess
QUOTE (BuzzDee @ Jan 24 2004, 11:45 AM)
did anyone succeed with that exploit by now?

Youll have a long ass wait no one plays the classics anymore.

Why they bothered with a game so old to find the error, one
really has to wonder. Its like someone finding a vulnerability in
pong and scanning for a pong network game good luck.

adenek
i am agree with you Nexcess smile.gif
x1`
maybe it should of been the need for speed underground game instead ,
The Storm
think one minute about the exploit. Who runs a game on a 100 MBIT for example no one. And even if. If somone plays Need for Speed on his fast box then he would check his server after a bit of time cause he have no upload. So forget about this exploit.
Train25
QUOTE (The Storm @ Jan 25 2004, 06:02 AM)
think one minute about the exploit. Who runs a game on a 100 MBIT for example no one. And even if. If somone plays Need for Speed on his fast box then he would check his server after a bit of time cause he have no upload. So forget about this exploit.

Thats where you may be mistaken. What about all the colleage and university students that are playing this game? I know the one I am attending they actually have competitions where the top 5 peeps at the end of each week win prizes ranging from free meal in cafeteria to tickets to the show to a gift certificate for $50 at a really classy restaurant in the city. All it costs them is $1.00/week.

All bases on the Need for Speed Underground which although i haven't dug deep into this eploit but i am pretty sure it uses port 242 as well. So there are your fast connections.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.