إرسال #955081: AdithyaYelloju Restaurant-Management-System 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c SQL Injectionالمعلومات

عنوانAdithyaYelloju Restaurant-Management-System 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c SQL Injection
الوصفThe affected components are `admin/table_booking.php` and `User/table_booking.php`. Both pages provide a "check table availability" form whose POST `name` parameter is concatenated directly into a SQL `SELECT` statement without escaping: ```php $res = mysqli_query($conn,"select * from tables where name ='$_POST[name]'"); ``` The row result is then echoed back into the page along with a hidden form whose `value="..."` interpolates `$row["name"]` directly, opening the page to reflected/stored XSS as well. The script also runs `session_start()` but never checks `$_SESSION['user']`, so it is reachable by unauthenticated callers. Combined with the missing role check (CVE-12) the issue is exploitable by any visitor.
المصدر⚠️ https://github.com/AdithyaYelloju/Restaurant-Management-System/issues/8
المستخدم 100001001X (UID 100909)
ارسال01/09/2026 01:28 PM (30 أيام منذ)
الاعتدال30/09/2026 10:09 AM (29 days later)
الحالةتمت الموافقة
إدخال VulDB411926 [AdithyaYelloju Restaurant-Management-System حتى 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c admin/table_booking.php mysqli_query name حقن SQL]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!