जमा करें #953178: AdithyaYelloju Restaurant-Management-System 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c SQL Injectionजानकारी

शीर्षकAdithyaYelloju Restaurant-Management-System 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c SQL Injection
विवरणThe affected components are `admin/display_menu.php` and `admin/tables.php`, two authenticated endpoints that provide search forms. Both endpoints interpolate the user-controlled `s1` POST parameter directly into a `LIKE` clause without escaping or parameter binding: ```php // admin/display_menu.php $res = mysqli_query($conn,"select * from menu where name like('$_POST[s1]%')"); ``` ```php // admin/tables.php $res = mysqli_query($conn,"select * from tables where name like('$_POST[s1]%')"); ``` The result rows are then echoed back into the response body, so a UNION-based payload allows the attacker to extract arbitrary data from any table the database user can read. Verified in the lab by retrieving `user()` and `version()` from the running MySQL instance. As with all admin pages, the role check is missing (CVE-12), so any logged-in user can reach these endpoints.
स्रोत⚠️ https://github.com/AdithyaYelloju/Restaurant-Management-System/issues/4
उपयोगकर्ता
 jamesjie (UID 100869)
सबमिशन29/08/2026 06:33 PM (25 दिन पहले)
संयम22/09/2026 07:03 PM (24 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि408542 [AdithyaYelloju Restaurant-Management-System तक 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c Search Form admin/display_menu.php mysqli_query s1 SQL इंजेक्शन]
अंक20

Want to know what is going to be exploited?

We predict KEV entries!