Skip to main content
DashboardThreatsMapFeedsAPI
reconnecting
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-51092: n/a

0
Critical
VulnerabilityCVE-2025-51092cvecve-2025-51092
Published: Fri Aug 22 2025 (08/22/2025, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

AILast updated: 08/30/2025, 00:58:16 UTC

Technical Analysis

CVE-2025-51092 is a critical SQL Injection vulnerability identified in the LogIn-SignUp project developed by VishnuSivadasVS. The vulnerability arises from unsafe construction of SQL queries within the DataBase.php file, specifically in the logIn() and signUp() functions. These functions directly concatenate user-supplied input and unvalidated table names into SQL queries without employing prepared statements or adequate sanitization. Although a prepareData() function exists, it is insufficient for preventing SQL injection attacks because it does not sanitize the table name parameter, which remains vulnerable to injection. This flaw corresponds to CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Exploiting this vulnerability allows an unauthenticated attacker to execute arbitrary SQL commands on the backend database, potentially leading to full compromise of the database confidentiality, integrity, and availability. The CVSS v3.1 base score is 9.8 (critical), reflecting the ease of exploitation (network vector, no privileges, no user interaction) and the severe impact on confidentiality, integrity, and availability. No known exploits are currently reported in the wild, but the vulnerability’s nature and severity make it a high-risk target for attackers once exploit code becomes available.

Potential Impact

For European organizations using the LogIn-SignUp project or derivatives thereof, this vulnerability poses a significant risk. Successful exploitation can lead to unauthorized data access, including sensitive user credentials and personal data, violating GDPR and other data protection regulations. Attackers could modify or delete data, disrupt authentication mechanisms, or escalate privileges, resulting in service outages and reputational damage. The breach of confidentiality and integrity could trigger regulatory fines and legal consequences. Additionally, the availability impact could disrupt business operations relying on the affected authentication system. Given the critical severity and ease of exploitation, European entities using this software in customer-facing or internal authentication systems are at high risk of data breaches and operational disruption.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately audit their use of the LogIn-SignUp project and identify any instances of the vulnerable DataBase.php implementation. The primary remediation is to refactor the logIn() and signUp() functions to use parameterized prepared statements for all SQL queries, ensuring that user inputs and table names are never directly concatenated into SQL commands. Since table names cannot be parameterized in prepared statements, implement strict whitelisting of allowed table names and validate them against this list before query construction. Additionally, enhance or replace the prepareData() function to include robust input validation and sanitization. Conduct thorough code reviews and penetration testing focused on SQL injection vectors. If patch updates become available from the original developer, apply them promptly. As an interim measure, consider deploying Web Application Firewalls (WAFs) with SQL injection detection rules tailored to this vulnerability’s patterns. Finally, monitor logs for suspicious SQL errors or anomalous query patterns indicative of exploitation attempts.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2025-06-16T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 68a8c25bad5a09ad00217699

Added to database: 8/22/2025, 7:17:47 PM

Last enriched: 8/30/2025, 12:58:16 AM

Last updated: 10/7/2025, 1:49:57 PM

Views: 48

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats