| Title | code-projects Chat System 1.0.0.0 SQL Injection |
|---|
| Description | The SQL Injection vulnerability exists in diretory '/admin/update_room.php?id=1' because the 'id', 'name' and 'password' parameters is directly inserted into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the 'id', 'name' and 'password' parameters, it will be executed by the database. For example, if the 'id' parameter is set to "id=1' AND (SELECT 8224 FROM (SELECT(SLEEP(5)))riQp)-- RGaL", it could manipulate the query to return or modify unintended data. Always use prepared statements or parameterized queries to prevent this.
script: id=2' AND (SELECT 5271 FROM (SELECT(SLEEP(5)))LiHR)-- oRQe |
|---|
| Source | ⚠️ https://code-projects.org/chat-system-using-php-source-code/ |
|---|
| User | Fergod (UID 55882) |
|---|
| Submission | 12/28/2024 16:20 (2 years ago) |
|---|
| Moderation | 12/29/2024 16:38 (1 day later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 289769 [code-projects Chat System 1.0 /admin/update_room.php id/name/password sql injection] |
|---|
| Points | 20 |
|---|