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

Stored XSS vulnerability in staff/my-profile.php #16

Open
Saud-Ahmad opened this issue Apr 14, 2021 · 2 comments
Open

Stored XSS vulnerability in staff/my-profile.php #16

Saud-Ahmad opened this issue Apr 14, 2021 · 2 comments

Comments

@Saud-Ahmad
Copy link

Stored XSS vulnerability in Version 2.0 which allows remote attacker to inject arbitrary script or html. This being stored, will impact all users who have permissions to view the vulnerable page.

Vulnerable Endpoint: http://localhost/RemoteClinic/staff/my-profile.php

Step to Reproduce:

  1. Login in Application as Doctor.
  2. Create New Staff Member.

1

  1. Register as a Doctor.

1

  1. Here is two fields "Chat" and "Personal Address" which is vulnerable to XSS, inject with XSS Payload:
    Capture1

2

  1. Now Click on Register.

2 - Copy

  1. Profile Created.

3

  1. Now Signout.

4

  1. Login with that Staff Member which you registered as a Doctor.

5

  1. Now go to My Profile.

6

  1. XSS Executed.

7

@Saud-Ahmad
Copy link
Author

@Saud-Ahmad
Copy link
Author

Exploit has been Published by Exploit-DB
https://www.exploit-db.com/exploits/49795

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