CVE-2025-5603
BaseFortify
Publication date: 2025-06-04
Last updated on: 2025-06-10
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| campcodes | online_hospital_management_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| 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. |
| 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?
CVE-2025-5603 is a critical SQL Injection vulnerability in Campcodes Hospital Management System version 1.0, specifically in the /registration.php file. The vulnerability occurs because the input parameters full_name and username are not properly sanitized, allowing an attacker to inject malicious SQL commands remotely without authentication. This can compromise the database's integrity and confidentiality. [1, 2]
How can this vulnerability impact me? :
This vulnerability can allow an attacker to remotely execute arbitrary SQL commands on the hospital management system's database. This can lead to unauthorized access to sensitive patient data, modification or deletion of records, and disruption of system availability. The attacker can compromise confidentiality, integrity, and availability of the system. [2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /registration.php endpoint of the Campcodes Hospital Management System 1.0 for SQL injection via the full_name or username parameters. One approach is to send specially crafted input to these parameters and observe if SQL errors or unexpected behavior occur. Additionally, Google dorking with queries like 'inurl:registration.php' can help identify vulnerable targets. Specific commands could include using curl or tools like sqlmap to test injection, for example: curl -X POST -d "full_name=' OR '1'='1" http://target/hms/registration.php or sqlmap -u "http://target/hms/registration.php" --data="full_name=test&username=test" --risk=3 --level=5 --batch [2, 1]
What immediate steps should I take to mitigate this vulnerability?
No known countermeasures or mitigations have been documented for this vulnerability. The recommended immediate step is to replace the affected component, Campcodes Hospital Management System version 1.0, with an alternative product that is not vulnerable. Additionally, restricting access to the registration.php endpoint and monitoring for suspicious activity may help reduce risk until a fix or replacement is implemented. [2]