| 标题 | markparticle WebServer 1.0 SQL Injection |
|---|
| 描述 | A sql injection found in `code/http/httprequest.cpp:192-195` of WebServer≤ 1.0, it use `snprintf` to format the user inputs `username` and `password` with sql statement `select` without any check. Furthur more, here is another unsafe design making this vulnerablity **more dangerous**. From line 203 to 219, there is a `while` loop to **fetch all the data `select` statement queried**, if we use comment like `#` or `—` ,the sql statement will get **more than 1 row**, thus, nomatter whose password is hit, its account will login succefully. |
|---|
| 来源 | ⚠️ https://magnificent-dill-351.notion.site/SQL-Injection-of-Login-in-WebServer-1-0-1d1c693918ed800b847bcc28bd691b7c |
|---|
| 用户 | s0l42 (UID 82389) |
|---|
| 提交 | 2025-04-11 05時08分 (1 年前) |
|---|
| 管理 | 2025-04-21 15時25分 (10 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 305775 [markparticle WebServer 直到 1.0 Login httprequest.cpp username/password SQL注入] |
|---|
| 积分 | 17 |
|---|