Lavalair Exploit

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

52 replies · 7,332 views · started 16 years ago · 1 min read

11 participants
thanatos Senior · 261 posts #1

Since hacking lavalair is scattered like a disease. Im going to reveal some hakworx to alert some newbies and not be played by sum outpatient psychotic hackers.[br/] SQLi is nt only in registration bt also cn b done in HTTP headers like UA, http_x_forward etc etc. Take a look at this query: update table_users set browserm='sqli here' and ip='function getip'; and look at the function getip and analyze how sqli workx wid http header using curl manipulation. One must fix that query since it is nt covered wid magic quotes.

thanatos Senior · 261 posts #2

im pretty much sure dat dz kind of topic/issue/exploit wil be posted on sum1 elses syt or forum and claim it to be theirs. Anyways my concern is for the noobs lyk me not on sum bunch of clowns.

something else Fellow · 2,296 posts #3

Yeah mobileGIGs wrote this in forums a long time ago but his post got ignored. This applies to most of the scripts on here.

thanatos Senior · 261 posts #4

Yep dat applies to all hu uses HTTP headers to be included in their query widout being sanitized

thanatos Senior · 261 posts #5

myt i add dz aswell. btw http headers cn also be change using http headers edit tools. more info on gugel

bOrN2pwn Developer · 230 posts #6

Hack blah blah hack blah blah. Lava wil always be full of exploits especialy the 1s here. Were theres a will theres a way. I was thinking of makeing the pages more random example domain.com/56t5au5629j2 like that so it changes everytime you refresh. That should do the trick.

BakGat

class Counter {
public:
  void Count();
  int  ReadDisplay();
private:
  int  CurrentCount;
};

External image (may be gone) External image (may be gone) External image (may be gone)

Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…

something else Fellow · 2,296 posts #7

bOrN2pwn wrote: Hack blah blah hack blah blah. Lava wil always be full of exploits especialy the 1s here. Were theres a will theres a way. I was thinking of makeing the pages more random example domain.com/56t5au5629j2 like that so it changes everytime you refresh. That should do the trick.

how would that stop hacking? you could just copy link address to get the next random folder name ? .... i guess it would help against session stealing but if your going to do that you might aswell make session id constantly change so when people on here boast about stealing a session on your site (no names mentioned) you can just laugh at them.

eg:

Start Of Page session is collected here to see if your logged in.

center of page. wannabe hacker places a cr@ppy session stealer here.. (php image ...javascript etc)

very end of page update session id to new session id here ...... making the session the wannabe hacker stole f**king usless

something else Fellow · 2,296 posts #8

Also you can log the old session id .... then if session is posted and if ip doesnt match current ip in database for that old session.... you then have the hackers ip and browser details which u can automatically ban 🙂

CreativityKills Lead · 833 posts #9

ah shut up :-/

Changin session per page load is d dumbest idea eva. Wot it means is if i press "back" i wil be logged out cuz d last session is no longer valid. Is dat dumb or wot.

something else Fellow · 2,296 posts #10

mobileGIGS wrote: ah shut up :-/

Changin session per page load is d dumbest idea eva. Wot it means is if i press "back" i wil be logged out cuz d last session is no longer valid. Is dat dumb or wot.

Are You Really That Dumb?

think about it.....

if the session changes to a new session id at the very bottom of the page ..... means it will not be changing any links in the page. which then means im talking about cookies or sessions So therefore pushing back on your browser keeps you logged in ....

and stops you from stealing a valid session id (round of applause for GIGsy)

something else Fellow · 2,296 posts #12

mobileGIGS wrote: @something else. . .i'll like to see you try, then we know whos really dumb.

gigs why have you always got to put people down if your so high and mighty coder what the hell are you doing here? Isnt it about time you grew up and helped people with there coding instead of say "thats cr@p" thats dumb" "that stupid"
Im not interested in a slanging match with you.... im more interested in helping others code on here. So either explain why you think my idea is dumb or be immature and have another go at me .... your choice.

amylee Principal · 1,092 posts #13

shad0w wrote: still no f-ing solution to secure lavalair sessions... Lava sux!

doesn't suck quite well as you though...

CreativityKills Lead · 833 posts #14

f.uck u, u, and oh you too. 😉

I help when its necessary, nt like nw. And kev u shudnt be even talkn considerin u got a team who cant even spot a crevice in ur script even if it hit them in the face.

bOrN2pwn Developer · 230 posts #15

Session stealing is old and most of the scripts me and rider shared you cant hack the session. The reason why i wana make a page display as random numbers and letters is because it wil be impossible to figure out staff pages. Like who ever posted in shout. Sum1 is changing posts and perms means theres a back door in the staff pages probaly a exit() missing like usual thats how people share the script then by hacking it they think their leet haha hacking your own script makes you a common moron...

BakGat

class Counter {
public:
  void Count();
  int  ReadDisplay();
private:
  int  CurrentCount;
};

External image (may be gone) External image (may be gone) External image (may be gone)

Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…

something else Fellow · 2,296 posts #16

mobileGIGS wrote: f.uck u, u, and oh you too. 😉

I help when its necessary, nt like nw. And kev u shudnt be even talkn considerin u got a team who cant even spot a crevice in ur script even if it hit them in the face.

This topic is like most of the topics in coding-talk which is helping others with coding. In this topic it is about helping others with security problems which you make out to be the expert on. So if it is not necessary to help others in a topic that you know so much about then its pointless you being here, Other than to do your normal routine and put other people down.

Just a quick question does it make you feel like a big man when you put people down? .... you know what they say about cyber bullies.

maybe one day you will get off your high horse and decide to thank someone for there coding instead of putting people down.

Sorry for going off topic opticalpigeon.

Back to on topic:

BorN2pwn i think the hacker from the shout box was injecting sql into the script why else would they bother updating plusses. im guessing they was using it as multi part sql injection eg: ', perm='4', plusses='9999999

something else Fellow · 2,296 posts #17

As Requested: here is a quick coding of checking ip and browser against 1 in database to see if the user has same details to help secure sessions (as me and thantos were talking earlier on in topic):

change the line:

if((islogged($sid)==false)||($uid==0)) { 

To

$check = mysql_fetch_array(mysql_query("SELECT ipadd, browserm FROM ibwf_users WHERE id='".$uid."'"));

if((islogged($sid)==false)||($uid==0)||($ip!=$check[0])||($ubr!=$check[1])){  

You will also need to update ip and browser info on login page

eg:

$res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");

This isnt the perfect solution but helps

thanatos Senior · 261 posts #18

filter the value where HTTP UserAgent and other HTTPs wil affect d field

something else Fellow · 2,296 posts #19

other things you can do to help is things like check referer eg:

if(substr_count($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST'])<1&&$_SERVER['HTTP_REFERER']!=""){
echo "your not logged in!";
exit();
}
CreativityKills Lead · 833 posts #20

lmao @ does it make u feel big.

Well if u must knw the site needs a rebel. Too fu.ckin boring. All u all say is lava dis lava dat, session dis, session dat, hack dis, hack dat (and 1/2 dnt knw d first). If yal wud rather talk archaic **** ova n ova again then pls dnt mind my intrusion, im just avin fun. And oh if yal take me or wot i say personally then u nid to get a life. . .No Really. :-/

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close