CVE-2025-6906
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-30

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability classified as critical has been found in code-projects Car Rental System 1.0. This affects an unknown part of the file /login.php. The manipulation of the argument uname leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-30
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-06-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
anisha car_rental_system 1.0
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.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-6906 is a critical SQL injection vulnerability in the Car Rental System version 1.0, specifically in the /login.php file. The vulnerability occurs because the 'uname' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This can be exploited remotely without authentication, enabling attackers to manipulate SQL queries to gain unauthorized access to the database, retrieve sensitive information, modify or delete data, and potentially take control of the system. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized access to the database, data leakage, data tampering, and potential full system compromise. Attackers can exploit the flaw to retrieve sensitive information, modify or delete data, disrupt services, and gain control over the affected system. Since exploitation requires no authentication and can be performed remotely, it poses a serious threat to system security and business continuity. [1, 2, 3]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the /login.php endpoint for SQL injection via the 'uname' parameter. A common method is to use SQL injection testing tools like sqlmap targeting the login.php page with the 'uname' parameter. For example, a time-based blind SQL injection payload such as `uname=admin' AND (SELECT SLEEP(5))--` can be used to observe delayed responses indicating vulnerability. Using sqlmap, a command might be: `sqlmap -u "http://target/login.php" --data="uname=admin&pass=admin&login=Login" --time-sec=5 --technique=T` to test for time-based SQL injection. Additionally, searching for the vulnerable endpoint using Google Dork queries like `inurl:login.php` can help identify potential targets. [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2) Apply strict input validation and filtering on the 'uname' parameter to ensure inputs conform to expected formats. 3) Limit database user permissions to the minimum necessary, avoiding use of high-privilege accounts such as 'root' or 'admin' for routine operations. 4) Conduct regular security audits of code and systems to detect and address vulnerabilities promptly. If possible, consider replacing the affected software with a secure alternative. [2, 3, 1]


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