إرسال #43710: SQL injection vulnerability in guest management systemالمعلومات

عنوانSQL injection vulnerability in guest management system
الوصفThere is a SQL injection vulnerability in the visitor management system, which can construct a universal password to bypass the login restrictions and log in to the website. Vulnerability file location: / guestmanagement / index.php look at this source code ``` $pass = $_ POST["pass"]; $uname =$_ POST["username"]; $sql = "SELECT userName FROM login_info WHERE userName = 'shreya' AND pass= 'shreya' "; ``` There is no protection for $username. Malicious data can be constructed here to attack the website database. The construction statement is as follows ``` ? uername=admin' or 1=1 --+ ``` https://s1.ax1x.com/2022/08/13/vtDVYD.png Source link https://www.sourcecodester.com/php/14664/guest-management-system-php-full-source-code.html
المصدر⚠️ https://www.sourcecodester.com/php/14664/guest-management-system-php-full-source-code.html/
المستخدم
 qidian (UID 30810)
ارسال13/08/2022 09:36 AM (4 سنوات منذ)
الاعتدال14/08/2022 08:31 AM (23 hours later)
الحالةتمت الموافقة
إدخال VulDB206398 [SourceCodester Guest Management System index.php username/pass حقن SQL]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!