Submit #556275: markparticle WebServer 1.0 SQL Injectioninfo

Titlemarkparticle WebServer 1.0 SQL Injection
DescriptionA 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.
Source⚠️ https://magnificent-dill-351.notion.site/SQL-Injection-of-Login-in-WebServer-1-0-1d1c693918ed800b847bcc28bd691b7c
User
 s0l42 (UID 82389)
Submission04/11/2025 05:08 (1 Year ago)
Moderation04/21/2025 15:25 (10 days later)
StatusAccepted
VulDB entry305775 [markparticle WebServer up to 1.0 Login httprequest.cpp username/password sql injection]
Points17

Do you want to use VulDB in your project?

Use the official API to access entries easily!