CVE-2025-6408
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-21

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability has been found in Campcodes Online Hospital Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /doctor/search.php. The manipulation of the argument searchdata leads to sql injection. The attack can be initiated 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-6408 is a critical SQL injection vulnerability in Campcodes Online Hospital Management System version 1.0, specifically in the /doctor/search.php file. The vulnerability arises because the 'searchdata' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This can lead to unauthorized access to the database, enabling attackers to retrieve, modify, or delete sensitive data remotely without authentication. [1, 2, 3]


How can this vulnerability impact me? :

Exploitation of this vulnerability can lead to unauthorized data retrieval, modification, or deletion, compromising the confidentiality, integrity, and availability of the affected system. Attackers can perform SQL injection attacks remotely without authentication, potentially causing data leakage, data manipulation, full system compromise, or service disruption. This 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 /doctor/search.php endpoint for SQL injection in the 'searchdata' parameter. You can use tools like sqlmap to automate detection. For example, running sqlmap against the URL with POST data 'searchdata=123&search=' can confirm the vulnerability. Additionally, manual testing with payloads such as time-based blind SQL injection (e.g., searchdata=123' AND (SELECT SLEEP(5))-- ) or UNION-based SQL injection payloads can be used to detect the flaw. Google dorking with queries like 'inurl:doctor/search.php' can help identify vulnerable targets on your network. [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implementing prepared statements with parameter binding to prevent SQL injection by separating SQL code from user input. 2) Applying strict input validation and filtering on the 'searchdata' parameter to ensure only expected input formats are accepted. 3) Minimizing database user permissions by avoiding use of high-privilege accounts for the application's database connection. 4) Conducting regular security audits to detect and address vulnerabilities promptly. If possible, replacing the affected component with an alternative product is recommended as no known mitigations currently exist. [1, 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