Submit #1042435: projectworlds Visitor Management System 1.0 SQL Injectioninfo

Titleprojectworlds Visitor Management System 1.0 SQL Injection
DescriptionUnauthenticated SQL injection in projectworlds Visitor Management System 1.0 via the purpose parameter of actionpage.php. Source-to-sink: - actionpage.php:40-43 assigns $_POST["purpose"] after only an empty() presence check. - actionpage.php:53 reaches the insert branch when name, cno, and purpose are non-empty and cno has 10 characters. - actionpage.php:58 concatenates $p directly into INSERT INTO info_visitor(...) VALUES(...). - actionpage.php:59 executes the statement with mysqli_query($connect, $sql) without escaping, casting, or parameter binding. Proof of concept: POST /actionpage.php Content-Type: application/x-www-form-urlencoded name=nm&cno=1234567890&purpose=x'),('SECURITY_MARKER',1234567890,'PURPOSE_MARKER','18',10,2026,'2026-10-18','11:22:33',424242,'ONLINE') -- &timein=10:00:00&id=111111&date=2026-10-18 The purpose value closes the string literal and appends a second VALUES tuple. In local dynamic verification against the unmodified application source, the request returned HTTP 200 and the database contained the additional marker row with ReceiptID 424242. A negative control using a plain purpose value returned the same success page but inserted exactly one benign row and no marker row. Impact: an unauthenticated remote attacker can inject attacker-controlled rows into visitor records and alter SQL values. This can forge check-in records and corrupt operational data. 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 entry437210 [projectworlds Visitor Management System 1.0 actionpage.php mysqli_query purpose sql injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!