Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VULNERABLE: SQL Injection in Hospital-Management-System. SQL injection in Hospital-Management-System/doctorsearch.php via the 'doctor_contact' param #24

Open
SonNguyen3496 opened this issue May 15, 2022 · 0 comments

Comments

@SonNguyen3496
Copy link

SonNguyen3496 commented May 15, 2022

I found an SQL Injection in your project
Pls Follow these steps to reproduce:

1:In admin panel use feature search doctor:

Screenshot 2022-05-15 at 18 13 29

2: Create a request to 'doctorsearch.php':

Screenshot 2022-05-15 at 18 11 18

3: Save this request to test.txt file:
Screenshot 2022-05-15 at 18 07 14

4: Run SQLMap for the attack:
sqlmap -r test.txt -p doctor_contact

-> Injected

Screenshot 2022-05-15 at 18 01 19

Screenshot 2022-05-15 at 18 01 08

5: Area of concern in doctorsearch.php ( line 11 -> line 17 )

Screenshot 2022-05-15 at 18 02 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant