Copyright (c) 2026 MOJ for Sheflabs. All rights reserved.
Medview+ Hospital Management System is an intentionally vulnerable web application designed for security training, penetration testing practice, and cybersecurity education. It simulates a real Hospital Management System with authentic workflows while containing deliberate security vulnerabilities for educational purposes.
Version: 1.0
Release Date: January 2026
License: MIT License (See LICENSE file)
Author: MOJ for Sheflabs
- Patient registration and authentication
- Doctor appointment booking system
- Medical records management
- Administrative dashboard
- Payment processing with cryptocurrency integration
- Real business logic workflows
- 25+ different vulnerability types
- 4 difficulty levels (Low, Medium, Hard, Impossible)
- CTF-style gamification with 20 unique flags
- Reward system (500 NGN per exploit)
- Cloudflare WAF integration
- Real-world CVE examples (30+ mapped)
- 100% OWASP Top 10 2025 coverage
- 100% OWASP API Top 10 coverage
- Progressive difficulty system
- Hidden hints in source code
- Exploit detection and tracking
- Automated flag capture
- Comprehensive documentation
- Step-by-step exploitation guides
- Home page
- Login page
- OTP verification
- Patient's dashboard
- Doctor's dashboard
- Admin dashboard
Requirements:
- PHP 7.4+
- MySQL 5.7+ or MariaDB 10.3+
- Apache or Nginx
- 512MB RAM minimum
Setup:
# 1. Install LAMP/WAMP/XAMPP
# 2. Copy application to web root
# 3. Create database
mysql -u root -p
CREATE DATABASE medview_vulnerable;
EXIT;
# 4. Import database schema
mysql -u root -p medview_vulnerable < vulnerable/setup_database.sql
# 5. Configure database connection
# Edit vulnerable/config-vulnerable.php with your credentials
# 6. Access application
http://localhost/Medview/vulnerable/Default Credentials:
Patient: ali@sheflabs.com / Password123
Doctor: sarah@medview.com / doctor123
Admin: admin / admin123
For detailed installation instructions, see INSTALLATION.md
THIS IS A VULNERABLE APPLICATION FOR TRAINING ONLY
- NEVER deploy to production environments
- NEVER use on public internet without proper isolation
- NEVER store real patient or sensitive data
- NEVER use real payment credentials
- ALWAYS use in isolated lab environments
- ALWAYS comply with local laws and regulations
- ALWAYS obtain written permission before testing
Unauthorized access to computer systems is illegal. This application is provided solely for educational purposes in authorized training environments. Users are responsible for ensuring lawful use of this software.
This runbook provides complete documentation for the Medview+ Vulnerable Hospital Management System, including program descriptions, vulnerability catalogs, and step-by-step exploitation guides.
- 01 - Program Overview & Features
- System description
- Normal HMS features
- Architecture overview
- User roles & capabilities
- 02 - CVE Mapping
- 30+ real-world CVE examples
- Breach case studies
- Industry impact analysis
- Vulnerability-to-CVE mapping
- 03 - Cloudflare Setup Guide
- WAF configuration per difficulty level
- Firewall rules
- Security settings
- Testing procedures
- 04 - Complete Exploitation Walkthrough
- 15+ vulnerabilities covered
- Step-by-step instructions
- Multiple payloads per vulnerability
- Success indicators and flag capture
- Focuses on Low difficulty (with notes on other levels)
- 05 - MITM Attacks Guide
- Complete Burp Suite setup and mastery
- Traffic interception techniques
- Request/response modification
- Alternative tools (ZAP, mitmproxy, Fiddler)
- MITM for all difficulty levels
- 8 practical exploitation scenarios
- 06 - SQL Injection Exploitation
- 07 - Cross-Site Scripting (XSS)
- 08 - Insecure Direct Object Reference (IDOR)
- 09 - Open Redirect
- 10 - Mass Assignment
- 11 - Directory Traversal / LFI
- 12 - Business Logic Flaws
- 13 - API Security Issues
- 14 - Command Injection
- 15 - File Upload RCE
- 16 - Server-Side Request Forgery (SSRF)
- 17 - Race Conditions
- 18 - Server-Side Template Injection (SSTI)
- 19 - Insecure Deserialization
- 20 - JWT Advanced Attacks
- 21 - XML External Entity (XXE)
-
22 - Penetration Testing Tools
- Burp Suite
- SQLMap
- OWASP ZAP
- Custom scripts
- Automation tools
-
- WAF bypass methods
- Filter evasion
- Encoding techniques
- Obfuscation methods
- 24 - CTF Guide & Flags
- All 20 flags
- Capture methods
- Scoring system
- Leaderboard
- 25 - Security Fixes & Best Practices
- How to fix each vulnerability
- Secure coding practices
- Defense strategies
- Security controls
- Start here → runbook/01-PROGRAM-OVERVIEW.md
- Then → runbook/04-COMPLETE-EXPLOITATION-WALKTHROUGH.md
- Learn MITM → runbook/05-MITM-ATTACKS-GUIDE.md
- Practice → Start with SQL Injection (covered in guide 04)
- Review → runbook/02-CVE-MAPPING.md
- Master MITM → runbook/05-MITM-ATTACKS-GUIDE.md
- Practice → Medium difficulty exploits (guides 10-13)
- Tools → runbook/22-TOOLS-REFERENCE.md
- Master → Hard difficulty guides (14-17)
- Expert → Impossible difficulty guides (18-21)
- Bypasses → runbook/23-WAF-BYPASS-TECHNIQUES.md
- Advanced MITM → All difficulty levels in guide 05
- Total Pages: 23 comprehensive guides
- Vulnerabilities Covered: 25+
- Exploitation Examples: 100+
- Tool References: 50+
- Code Snippets: 200+
- Screenshots: Described in detail
- Difficulty Levels: 4 (Low/Medium/Hard/Impossible)
Day 1-2: Read runbook/01-PROGRAM-OVERVIEW.md
Day 3-4: Read runbook/02-CVE-MAPPING.md
Day 5-7: Practice runbook/04-COMPLETE-EXPLOITATION-WALKTHROUGH.md (Low difficulty)
Day 8-9: Practice SQL Injection & XSS
Day 10-11: Practice IDOR & other Low difficulty
Day 12-14: Complete all Low difficulty vulnerabilities
Week 3: Medium difficulty exploits (guides 10-13)
Week 4: Tool mastery (runbook/05-MITM-ATTACKS-GUIDE.md)
Week 5: Hard difficulty guides (14-17)
Week 6: WAF bypass techniques (runbook/23-WAF-BYPASS-TECHNIQUES.md)
Week 7: Impossible difficulty guides (18-21)
Week 8: CTF completion & remediation study
- Start with Low difficulty - learn the basics
- Read the exploitation guide completely before trying
- Follow step-by-step instructions exactly
- Use recommended tools
- Capture all 20 flags for completeness
- Document your findings
- Assign one vulnerability per week
- Start easy, increase difficulty gradually
- Review remediation after successful exploitation
- Use CTF scoring for engagement
- Discuss real-world impact of each vulnerability
- Compare student techniques
CRITICAL WARNINGS:
- NEVER use these techniques on systems you don't own
- This is a TRAINING environment only
- Unauthorized hacking is ILLEGAL
- Always get written permission
- Use isolated lab networks
- Don't expose vulnerable version publicly
- Main README:
README.md - Installation:
INSTALLATION.md - License:
LICENSE - Complete Runbook:
runbook/INDEX.md
- OWASP Testing Guide: https://owasp.org/www-project-web-security-testing-guide/
- PortSwigger Academy: https://portswigger.net/web-security
- HackTheBox: https://www.hackthebox.com
- TryHackMe: https://tryhackme.com
Code blocksfor commands- Bold for important terms
- Italics for emphasis
-
Blockquotes for tips
- Low - Beginner friendly
- Medium - Intermediate
- Hard - Advanced
- Impossible - Expert
Ready to begin?
Start with: runbook/01 - Program Overview & Features →
Last Updated: 2026-01-01 Version: 1.0 Total Pages: 23 Estimated Reading Time: 40+ hours Hands-On Practice Time: 80+ hours





