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 Script Vulnerability on "Main settings" #2320

Closed
Songohan22 opened this issue May 14, 2020 · 4 comments
Closed

Cross Site Script Vulnerability on "Main settings" #2320

Songohan22 opened this issue May 14, 2020 · 4 comments

Comments

@Songohan22
Copy link

Songohan22 commented May 14, 2020

Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Main" feature

To Reproduce
Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "administration/settings_main.php"
  3. Click edit on "Site footer"
  4. Insert payload:
    ! [ ] (https://github.com/Songohan22/PHP_Furion/blob/master/4.PNG)
    <img src=xx onmouseover=alert('xss')>
  5. Click: "Save Setting"
  6. Login as member
  7. Go to Site footer
  8. XSS Alert Message

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

  1. Go to "administration/settings_main.php"
    ! [ ] (https://github.com/Songohan22/PHP_Furion/blob/master/1.PNG)
  2. Insert payload: <img src=xx onmouseover=alert('xss')> on "Site footer"
    ! [ ] (https://github.com/Songohan22/PHP_Furion/blob/master/2.PNG)
  3. XSS Alert Message
    ! [ ] (https://github.com/Songohan22/PHP_Furion/blob/master/3.PNG)

Desktop (please complete the following information):

  • OS: Kali
  • Browser: Firefox
  • Version of Browser: 68.6
@RobiNN1
Copy link
Contributor

RobiNN1 commented May 14, 2020

This is not a really big problem, only a trusted person has access to this section... Big problem is if you find XSS as a member without admin rights.

@RobiNN1 RobiNN1 changed the title Cross Site Script Vulnerability on "Main" in PHP-Fusion 9.0.35 Cross Site Script Vulnerability on "Main settings" May 14, 2020
@Songohan22
Copy link
Author

Songohan22 commented May 14, 2020

@RobiNN1 thank you for reply
"This is not a really big problem, only a trusted person has access to this section... Big problem is if you find XSS as a member without admin rights."
Yep....But I think you still fix it
Impacts: Stored XSS, with remote code execution on the victim’s browser, such as stealing credentials, sessions, or delivering malware to the victim.

Thank you.

@RobiNN1
Copy link
Contributor

RobiNN1 commented May 14, 2020

php-fusion/php-fusion@5a024ca

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

@RobiNN1
You work very well. I will retest this issue.
Thank 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

2 participants