Skip to main content
ExploitPublished

Campcodes Online Hospital Management System 1.0 · SQL Injection

Source Exploit-DB RSS Feed

0

Mentioned vulnerabilities

Severity
Medium

Rated by Threat Radar

Data as of 11 Jun 2025, 21:16 UTC

What to do

AI-suggested

1. Immediate mitigation should include restricting access to the /admin/betweendates-detailsreports.php endpoint to trusted administrators only, ideally behind VPN or strong network access controls. 2. Implement input validation and parameterized queries (prepared statements) for all database interactions, especially for 'fromdate' and 'todate' fields, to prevent injection. 3. Conduct a thorough code review of the entire OHMS application to identify and remediate other potential injection points. 4. Deploy Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting these parameters. 5. Monitor logs for unusual query patterns or repeated failed attempts indicative of SQLi exploitation. 6. If possible, upgrade to a patched version or apply vendor-provided fixes once available. 7. Educate administrators about the risks of exposing admin interfaces publicly and enforce strong authentication and session management. 8. Regularly back up databases and test restoration procedures to mitigate impact of potential data corruption or deletion.

Description

Campcodes Online Hospital Management System 1.0 - SQL Injection

Indicators of compromise

Exploit source code

Exploit code for Campcodes Online Hospital Management System 1.0 - SQL Injection3,434 characters
# Exploit Title: Campcodes Online Hospital Management System 1.0 - SQL Injection
# Google Dork: N/A
# Exploit Author: Carine Constantino
# Vendor Homepage: https://www.campcodes.com
# Software Link: https://www.campcodes.com/projects/online-hospital-management-system-using-php-and-mysql/
# Version: 1.0
# Tested on: Linux - Ubuntu Ubuntu 23.10 
# CVE: CVE-2025-5298

# Campcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection
# The report in admin/betweendates-detailsreports.p…

References

Community reviews

Loading reviews…