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

Reflected XSS on the login page #360

Open
manisashank opened this issue Aug 21, 2024 · 0 comments
Open

Reflected XSS on the login page #360

manisashank opened this issue Aug 21, 2024 · 0 comments

Comments

@manisashank
Copy link

Hi Team,

I couldn't find any contact information of @gamonoid on their github profile page so creating an issue here.

Description:
IceHRM application is vulnerable to Reflected cross-site Scripting vulnerability. This is due to the application not properly sanitizing the user input in next parameter on the login page.

Steps to reproduce:

  1. Visit the below URL from firefox: https://icehrm.com/app/<any_nickname>/login.php?next=testingforbugs%22%20accesskey=%22x%22%20onclick%3d%22alert(document.domain)
  2. Once the above page loads click ALT+SHIFT+X (Windows) or CTRL+ALT+X (OS X)

References:
https://portswigger.net/research/xss-in-hidden-input-fields

POC:
image

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