CVE-2025-51092
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-22

Last updated on: 2025-10-09

Assigner: MITRE

Description
The LogIn-SignUp project by VishnuSivadasVS is vulnerable to SQL Injection due to unsafe construction of SQL queries in DataBase.php. The functions logIn() and signUp() build queries by directly concatenating user input and unvalidated table names without using prepared statements. While a prepareData() function exists, it is insufficient to prevent SQL injection and does not sanitize the table name.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-22
Last Modified
2025-10-09
Generated
2026-05-07
AI Q&A
2025-08-22
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
vishnusivadas login-signup *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart