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

SSH Resource Configuration form XSS Bug #4947

Closed
zacsmits opened this issue Nov 21, 2022 · 0 comments · Fixed by #4949
Closed

SSH Resource Configuration form XSS Bug #4947

zacsmits opened this issue Nov 21, 2022 · 0 comments · Fixed by #4949
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zacsmits
Copy link

Describe the bug

The 'SSH' Resource configuration form is susceptible to XSS via the 'Resource Name' parameter

To Reproduce

POC: Create a SSH resource with the name: "><script>alert("TEST");</script>"
Click on the resource in the Resources list menu, and observe the alert.

Expected behavior

Resource Name field should be validated

Screenshots

If applicable, add screenshots to help explain your problem.

image

image

image

Your Environment

Include as many relevant details about the environment you experienced the problem in.

  • Icinga DB Web version (System - About): 1.0.2
  • Icinga Web 2 version (System - About): 2.11.2
  • Web browser: Chrome, Firefox
  • Icinga 2 version (icinga2 --version): 2.13.6
  • Icinga DB version (icingadb --version): 1.0.0
  • PHP version used (php --version): 7.4.3
  • Server operating system and version: Ubuntu 20.04

Additional context

Add any other context about the problem here.

@Al2Klimov Al2Klimov self-assigned this Nov 22, 2022
@nilmerg nilmerg added the bug Something isn't working label Dec 1, 2022
@nilmerg nilmerg added this to the 2.11.3 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants