提交 #468541: code-projects Travel Management System Using PHP 1 SQL Injection信息

标题code-projects Travel Management System Using PHP 1 SQL Injection
描述The SQL Injection vulnerability exists in diretory '/travel/package.php?subcatid=18' because the 'subcatid' parameter is directly inserted into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the 'subcatid' parameter, it will be executed by the database. For example, if the 'subcatid' parameter is set to "18' AND (SELECT 5950 FROM (SELECT(SLEEP(5)))CYlN) AND 'nrPR'='nrPR", it could manipulate the query to return or modify unintended data. Always use prepared statements or parameterized queries to prevent this. Payload: subcatid=18' AND (SELECT 5950 FROM (SELECT(SLEEP(5)))CYlN) AND 'nrPR'='nrPR
来源⚠️ https://code-projects.org/travel-management-system-using-php-source-code/
用户
 Fergod (UID 55882)
提交2024-12-24 18時00分 (2 年前)
管理2024-12-25 19時11分 (1 day later)
状态已接受
VulDB条目289312 [code-projects Travel Management System 1.0 /package.php subcatid SQL注入]
积分20

Do you know our Splunk app?

Download it now for free!