| Titel | markparticle WebServer 1.0 SQL Injection |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://magnificent-dill-351.notion.site/SQL-Injection-of-Login-in-WebServer-1-0-1d1c693918ed800b847bcc28bd691b7c |
|---|
| Benutzer | s0l42 (UID 82389) |
|---|
| Einreichung | 11.04.2025 05:08 (vor 1 Jahr) |
|---|
| Moderieren | 21.04.2025 15:25 (10 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 305775 [markparticle WebServer bis 1.0 Login httprequest.cpp username/password SQL Injection] |
|---|
| Punkte | 17 |
|---|