CVE-2025-6407
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-21

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability, which was classified as critical, was found in Campcodes Online Hospital Management System 1.0. This affects an unknown part of the file /user-login.php. The manipulation of the argument Username 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-21
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-06-21
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
campcodes online_hospital_management_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-6407 is a critical SQL injection vulnerability in Campcodes Online Hospital Management System version 1.0, specifically in the /user-login.php file. The vulnerability occurs because the 'username' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This enables unauthorized access to the database, potentially leading to data retrieval, modification, deletion, and exposure of sensitive information. The attack can be performed remotely without authentication and is easy to exploit. [1, 2, 3]


How can this vulnerability impact me? :

Exploitation of this vulnerability can lead to unauthorized database access, leakage of sensitive data, data tampering, deletion, and full system compromise. It can also cause service disruption and severely impact system security and business continuity by compromising confidentiality, integrity, and availability of the system. [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 identifying the presence of the vulnerable file /user-login.php in the Campcodes Online Hospital Management System 1.0. One detection method involves using Google Hacking techniques to search for URLs containing "inurl:user-login.php" to find potentially vulnerable targets. Additionally, testing the 'username' parameter for SQL injection by sending crafted payloads that attempt to manipulate SQL queries can help detect the vulnerability. For example, using curl or similar tools to send requests with SQL injection payloads to the username parameter and observing the response for SQL errors or unexpected behavior can indicate vulnerability. [3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implementing prepared statements to ensure user input is treated strictly as data and not executable SQL code. 2) Applying strict input validation and filtering on the 'username' parameter to ensure inputs conform to expected formats. 3) Minimizing database user permissions by avoiding the use of high-privilege accounts for routine operations. 4) Conducting regular security audits of code and systems to detect and remediate vulnerabilities promptly. Additionally, since no known mitigations are documented and replacement is recommended, consider replacing the affected product with a secure alternative. [2, 3]


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