html_escape prevent code execution .
I noticed when i put HTML content in "beef-xss/config.yaml" file in Version Field. And Restart Beef(beef_start.png) and Go to Admin Panel in my browser, then my html interpreter and execute. This issue occurs bcz of "/beef-xss/extensions/admin_ui/controllers/panel/index.html" in this file insecure code implementetion. NOW html_escape prevent code execution.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="right-menu">
|
||||
<img src="<%= base_path %>/media/images/favicon.png" />
|
||||
BeEF <%= BeEF::Core::Configuration.instance.get('beef.version') %> |
|
||||
BeEF <%= html_escape BeEF::Core::Configuration.instance.get('beef.version') %> |
|
||||
<a id='do-submit-bug-menu' href='https://github.com/beefproject/beef/issues/new' target='_blank'>Submit Bug</a> |
|
||||
<a id='do-logout-menu' href='#'>Logout</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user