提交 #71271: Online Flight Booking Management System add_contestant.php has SQLinject信息

标题Online Flight Booking Management System add_contestant.php has SQLinject
描述Online Flight Booking Management System add_contestant.php has SQLinject Download the source code from https://www.sourcecodester.com/php/15865/online-flight-booking-management-system-using-php-and-mysql-free-source-code.html line: 152 - 162 if(isset($_POST['add_contestant'])) { $se_name=$_POST['se_name']; $sub_event_id=$_POST['sub_event_id']; $contestant_ctr=$_POST['contestant_ctr']; $fullname=$_POST['fullname']; /* contestants */ $conn->query("insert into contestants(fullname,subevent_id,contestant_ctr)values('$fullname','$sub_event_id','$contestant_ctr')"); Because the string entered by the user is not filtered and the sql statements are spliced, the sql injection vulnerability is generated. It can cause serious harm to the system. Maybe because the program does not turn on error display, the joint query cannot be used here, but the sql injection attack can be carried out through the time blind injection method
来源⚠️ https://github.com/f4cky0u/Security-vulnerabilities/blob/main/Online%20Flight%20Booking%20Management%20System%20add_contestant.php%20has%20SQLinject.md
用户
 Evilmu1 (UID 38763)
提交2023-01-12 09時56分 (3 年前)
管理2023-01-12 15時52分 (6 hours later)
状态已接受
VulDB条目218153 [SourceCodester Online Flight Booking Management System add_contestant.php add_contestant SQL注入]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!