CVE-2025-51092
BaseFortify
Publication date: 2025-08-22
Last updated on: 2025-10-09
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vishnusivadas | login-signup | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an SQL Injection in the LogIn-SignUp project by VishnuSivadasVS. It occurs because the functions logIn() and signUp() build SQL queries by directly concatenating user input and unvalidated table names without using prepared statements. Although there is a prepareData() function, it does not properly sanitize the table name or prevent SQL injection, allowing attackers to manipulate the SQL queries.
How can this vulnerability impact me? :
This vulnerability can allow attackers to execute arbitrary SQL commands on the database, potentially leading to unauthorized data access, data modification, or deletion. It can compromise the integrity and confidentiality of the database and may allow attackers to bypass authentication or escalate privileges.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this SQL Injection vulnerability, immediately update the LogIn-SignUp project's DataBase.php to use prepared statements with parameterized queries instead of directly concatenating user input and table names. Additionally, ensure that all user inputs, including table names, are properly validated and sanitized before use in SQL queries.