Submit #1042436: projectworlds Visitor Management System 1.0 SQL Injectioninfo

Titleprojectworlds Visitor Management System 1.0 SQL Injection
DescriptionUnauthenticated SQL injection in the username parameter of /img/user%20page.php in projectworlds Visitor Management System 1.0, leading to authentication bypass. Source-to-sink: - img/user page.php:16-17 assigns $_POST["pass"] and $_POST["username"] directly to $pass and $uname after only a non-empty check. - img/user page.php:20 constructs SELECT userName FROM login_info WHERE userName = '$uname' AND pass= '$pass'. - img/user page.php:21 executes the concatenated statement with mysqli_query($link, $sql), without escaping, casting, or parameter binding. - img/user page.php:24 treats any result count of one as successful authentication, sets $_SESSION["user"] to the submitted username and $_SESSION["loggedIn"] to 1, then redirects to front.php. Proof of concept: POST /img/user%20page.php Content-Type: application/x-www-form-urlencoded username=' UNION SELECT 'SECURITY_MARKER'-- -&pass=x The username value closes the string literal and adds a UNION SELECT row with the controlled marker, making the authentication query return one row. In local dynamic verification against the unmodified source, the request returned HTTP 302 to front.php and the resulting session accessed protected pages. A control request using an ordinary nonexistent username returned HTTP 200 with "Invalid Password or Username" and did not establish an authenticated session. Impact: an unauthenticated remote attacker can bypass application authentication and access protected visitor-management functionality. The same input also permits UNION-based database reads from the SQL context. CWE-89. Product source and archive: https://projectworlds.com/visitor-management-system-in-php-and-mysql/ https://projectworlds.com/wp-content/uploads/2020/07/Visitor-Management-System-in-PHP.zip
Source⚠️ https://projectworlds.com/visitor-management-system-in-php-and-mysql/
User
 shuosheng (UID 102220)
Submission10/19/2026 05:50 (1 month ago)
Moderation11/13/2026 18:28 (26 days later)
StatusAccepted
VulDB entry437211 [projectworlds Visitor Management System 1.0 Login Endpoint /img/user%20page.php mysqli_query username sql injection]
Points20

Want to know what is going to be exploited?

We predict KEV entries!