Submit #470600: code-projects Chat System 1.0 SQL Injectioninfo

Titlecode-projects Chat System 1.0 SQL Injection
DescriptionThe 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.
Source⚠️ https://code-projects.org/chat-system-using-php-source-code/
User
 Fergod (UID 55882)
Submission12/28/2024 06:02 (1 Year ago)
Moderation12/28/2024 17:16 (11 hours later)
StatusAccepted
VulDB entry289711 [code-projects Chat System 1.0 /admin/chatroom.php ID sql injection]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!