| 标题 | SourceCodester Simple Student Information System 1.0 SQL Injection |
|---|
| 描述 | During an authorized local security review of the supplied Student Information System source, an unauthenticated SQL injection was confirmed in the s parameter of /searchquery.php. A UNION-based request returned every username and plaintext password without a session cookie. A separate time-based request delayed the response for approximately three seconds.
The issue also enables unauthenticated account takeover through /changepassword.php. The password-update branch runs before authorization and concatenates the attacker-controlled oldpass and newpass parameters into SQL. By injecting a valid Boolean condition into oldpass and a target user ID into newpass, the attacker can change a selected user's password and then authenticate as that user. The test changed the local testuser password from testuser to Pwned123!, logged in successfully, and then restored the original password. |
|---|
| 来源 | ⚠️ https://github.com/lshhhhh318/cve/issues/1 |
|---|
| 用户 | linshenghao (UID 101442) |
|---|
| 提交 | 2026-09-20 16時25分 (16 日前) |
|---|
| 管理 | 2026-10-05 22時40分 (15 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413812 [SourceCodester Simple Student Information System 1.0 searchquery.php SQL注入] |
|---|
| 积分 | 20 |
|---|