vendor:
Simple Chat System
by:
Ihsan Sencan
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Simple Chat System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:simple_chat_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: WiN7_x64/KaLiLinuX_x64
2018
Simple Chat System 1.0 – ‘id’ SQL Injection
A SQL injection vulnerability exists in Simple Chat System 1.0, which allows an attacker to execute arbitrary SQL commands via the 'id' parameter in a 'chatroom.php' script. An attacker can send a malicious HTTP request to the vulnerable script and execute arbitrary SQL commands in the back-end database, allowing them to access or modify sensitive data.
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered for malicious content. Additionally, parameterized queries should be used to prevent SQL injection attacks.