提交 #470600: code-projects Chat System 1.0 SQL Injection信息

标题code-projects Chat System 1.0 SQL Injection
描述The SQL Injection vulnerability exists in diretory '/admin/chatroom.php' in admin account because the 'id' parameter is directly inserted into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the 'id' parameter, it will be executed by the database. For example, if the 'id' parameter is set to "id=2' AND (SELECT 4493 FROM (SELECT(SLEEP(5)))dBbj)-- aFmE", it could manipulate the query to return or modify unintended data. Always use prepared statements or parameterized queries to prevent this.
来源⚠️ https://code-projects.org/chat-system-using-php-source-code/
用户
 Fergod (UID 55882)
提交2024-12-28 06時02分 (2 年前)
管理2024-12-28 17時16分 (11 hours later)
状态已接受
VulDB条目289711 [code-projects Chat System 1.0 /admin/chatroom.php id SQL注入]
积分20

Do you need the next level of professionalism?

Upgrade your account now!