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.
User
 s0l42 (UID 82389)
Submission04/11/2025 05:08 (2 years 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 need the next level of professionalism?

Upgrade your account now!