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

Cross Site Scripting Vulnerability on "Theme Manager" feature in PHP-Fusion 9.03.60 (New Version) #2326

Closed
Songohan22 opened this issue May 18, 2020 · 0 comments

Comments

@Songohan22
Copy link

Songohan22 commented May 18, 2020

Describe the bug
An authenticated malicious user can take advantage of a Reflected XSS vulnerability in the "Thêm Manager" feature. This was can be bypassed by using HTML event handlers, such as "ontoggle".

To Reproduce
Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "/administration/theme.php"
  3. Click "Manage Theme"
  4. Insert payload '><details/open/ontoggle=confirm(/XSS/)>
  5. Click "Save Changes"
  6. View the preview to trigger XSS.
  7. View the preview to get in request and such Reflected XSS

Expected behavior
The removal of script tags is not sufficient to prevent an XSS attack. You must HTML Entity encode any output that is reflected back to the page.

Screenshots
2
1

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: 76.0.1
RobiNN1 added a commit that referenced this issue May 18, 2020
@RobiNN1 RobiNN1 closed this as completed May 18, 2020
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

2 participants