Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2023-7172 — Intentionally vulnerable Hospital Management System demonstrating SQL injection (CVE-2023-7172) with Docker setup and PoC for educational security testing. | Kitploit
Tools/GitHubGitHub/sharathc213/cve-2023-7172
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubsharathc213/cve-2023-7172

CVE-2023-7172

Intentionally vulnerable Hospital Management System demonstrating SQL injection (CVE-2023-7172) with Docker setup and PoC for educational security testing.

View Repository
622 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2023-7172

Overview

This project contains a vulnerable version of a Hospital Management System (HMS) that is susceptible to SQL Injection (CVE-2023-7172). SQL Injection is a critical web application vulnerability that can have severe impacts on the security and functionality of a system.

CVE Details

  • CVE ID: CVE-2023-7172
  • Vulnerability Type: SQL Injection
  • Affected Component: Admin login page
  • Vulnerable Parameter: username
  • Ventor Details: phpgurukul.com
  • Vulnerable Version: Hospital Management System 1.0

Steps to Reproduce (PoC)

Clone the Repository:

root@kitploit:~
git clone https://github.com/sharathc213/CVE-2023-7172.git
cd CVE-2023-7172

Run Docker Compose:

root@kitploit:~
docker-compose up -d

Access the Admin Login Page:

Open a web browser and navigate to the admin login page, typically located at http://localhost:8080/hms/admin/

Initial Login Attempt:

In the "Username" field, input the following:

root@kitploit:~
admin' -- -

Fill in the "Password" field with any value (it doesn't matter in this case). POC

Attempt to Log In:

Click the "Log In" button to attempt to log in using the modified username.

Observe the Result:

If the application successfully logs you into the admin dashboard without requiring the correct password, it indicates that a SQL Injection vulnerability is likely present.

Impact of SQL Injection in a Hospital Management System

SQL Injection is a critical web application vulnerability that can have severe and wide-ranging impacts on the security and functionality of a system. Here are the key potential impacts of a successful SQL Injection attack:

  • Unauthorized Data Access
  • Data Exfiltration
  • Data Manipulation
  • Account Takeover
  • System Compromise
  • Application Disruption
  • Legal and Compliance Consequences
  • Reputation Damage
  • Financial Loss

Mitigation Recommendations

To mitigate the SQL Injection vulnerability, consider implementing the following best practices:

  • Parameterized Statements (Prepared Statements)
  • Stored Procedures
  • Input Validation
  • Whitelisting
  • Escaping User Inputs

Disclaimer

This project is intentionally vulnerable and should only be used for educational and testing purposes. Do not deploy this in a production environment.

Download Tool