提交 #893103: Soarkey StudentManagement e08f7f1d5015af407aa4cca0ada3dea189b4937e SQL Injection信息

标题Soarkey StudentManagement e08f7f1d5015af407aa4cca0ada3dea189b4937e SQL Injection
描述The affected request path is the `course_ranking` action in `code/src/service/AdminDao.java` at lines 499-525, which forwards the untrusted `cno` parameter into `code/src/dao/CourseDao.java`. `CourseDao.course_ranking(String cno)` at lines 151-156 builds the SQL statement by concatenating `cno` directly into `... and cno = '"+cno+"' order by grade desc;` before execution. Because no parameter binding or validation is applied, an attacker can inject arbitrary SQL conditions and UNION clauses through `cno`. This allows retrieval of unintended rows and exfiltration of data from other tables such as `user`, including usernames, plaintext passwords, and privilege levels.
来源⚠️ https://github.com/Soarkey/StudentManagement/issues/33
用户
 soulinda (UID 99812)
提交2026-07-16 18時37分 (1 月前)
管理2026-08-30 10時00分 (1 month later)
状态已接受
VulDB条目397120 [Soarkey StudentManagement/学生信息管理系统 直到 e08f7f1d5015af407aa4cca0ada3dea189b4937e CourseDao.java CourseDao.course_ranking cno SQL注入]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!