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 "Categories Lists" feature in phplist version 3.5.3 #669

Closed
r0ck3t1973 opened this issue May 27, 2020 · 3 comments

Comments

@r0ck3t1973
Copy link

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

To Reproduce
Steps to reproduce the behavior:

  1. Login into the panel phplist
  2. Go to 'phplist3/lists/admin/?page=list&tk=dbf5ac23de96b3920307f34621dae3ee'
  3. Click 'Subscribers Lists' -> 'Categories Lists' -> 'Configure Categories'
  4. Insert Payload XSS:
    '><details/open/ontoggle=confirm(/r0ck3t1973/)>
  5. Save and Back -> click chose 'CATEGORY' new -> Save -> click Subscribers
  6. xss alert message

Screenhost
cat1
cat2
cat3
cat4
mess_alert1

Also Video PoC
https://drive.google.com/open?id=1ZY7QpWzg9SEkjXQsBCRUs-up8U0Yh1L2

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.

Desktop (please complete the following information):
OS: Windows
Browser: All
Version

I Hope you fix it ASAP!!!

@michield
Copy link
Member

Fixed with ba8507f

@suelaP
Copy link
Member

suelaP commented May 29, 2020

@r0ck3t1973 thank you for your contributions again :). The fixes to all issues you reported have been included in the latest release. You can take a look at the release notes here: https://www.phplist.org/newslist/phplist-3-5-4-release-notes/

@r0ck3t1973
Copy link
Author

r0ck3t1973 commented May 29, 2020 via email

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