Skip to content

Conversation

@zeropath-ai-staging
Copy link

This SQL injection vulnerability in include/functions.inc.php allows attackers to execute arbitrary SQL queries, potentially leading to data breaches or unauthorized access. The get_user_by_id function (lines 28-34) directly concatenates the $user_id parameter into an SQL query without proper sanitization or parameterization. This allows a malicious user to inject SQL code by manipulating the user_id parameter, resulting in the execution of arbitrary SQL commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant