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 "Security" feature in PHP-Fusion 9.03.60 (New Version) #2331

Closed
Songohan22 opened this issue May 20, 2020 · 7 comments

Comments

@Songohan22
Copy link

Songohan22 commented May 20, 2020

Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "security" feature. This was can be bypassed by using HTML event handlers, such as "onload".

To Reproduce
Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "/administration/setting_security.php"
  3. Insert payload:
    <svg/onload=alert(/XSS/)//
  4. Click "Save Settings"
  5. Login user the page.
  6. View the preview to trigger XSS.
  7. View the preview to get in request and such Stored 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.

Impact
Commonly include transmitting private data, like cookies or other session information, to the attacker, redirecting the victim to web content controlled by the attacker, or performing other malicious operations on the user’s machine under the guise of the vulnerable site.

Screenshots
8
7

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: 76.0.1
@RobiNN1
Copy link
Contributor

RobiNN1 commented May 20, 2020

Update all files

@RobiNN1 RobiNN1 closed this as completed May 20, 2020
@Songohan22
Copy link
Author

@RobiNN1
Can you send me instructions?

@FrederickChan
Copy link
Member

FrederickChan commented May 21, 2020

git init
git checkout
git fetch
git pull

or

git clone --recursive https://github.com/php-fusion/PHP-Fusion.git php-fusion

@Songohan22
Copy link
Author

@FrederickChan
Thanh you very much.

@Songohan22
Copy link
Author

@RobiNN1 @FrederickChan
Where can I contact you two.
Can you give me the skype link please.

Thank you very much.

@FrederickChan
Copy link
Member

FrederickChan commented May 24, 2020 via email

@Songohan22
Copy link
Author

Hi Team Security PHPFusion.

You can a CVE ID assigned and reference change log to "UraSec Team" :D

Thanks you!

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

3 participants