vendor:
WorkingOnWeb
by:
ka0x
7.5
CVSS
HIGH
Remote SQL Injection
89
CWE
Product Name: WorkingOnWeb
Affected Version From: WorkingOnWeb 2.0.1400
Affected Version To: WorkingOnWeb 2.0.1400
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2007
WorkingOnWeb 2.0.1400 Remote SQL Injection
The vulnerability allows an attacker to perform a SQL injection attack by manipulating the 'idevent' parameter in the 'events.php' page. By injecting malicious SQL code, the attacker can retrieve sensitive information from the MySQL database, such as usernames and passwords of the 'mysql.user' table. The vulnerability is located in line 4 of the code snippet provided.
Mitigation:
To mitigate this vulnerability, it is recommended to use prepared statements or parameterized queries instead of directly concatenating user input into SQL queries. Additionally, input validation and sanitization should be implemented to prevent malicious input from being executed as SQL code.