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

Bypass Cross Site Scripting Vulnerability on "IMPORT EMAILS" feature in php-list-3.5.4 #672

Closed
r0ck3t1973 opened this issue May 30, 2020 · 8 comments

Comments

@r0ck3t1973
Copy link

Hi Team phplist3, I found a small bug!
**Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "IMPORT EMAILS" feature. It affects both options SEND A CAMPAIGN feature.

To Reproduce
Steps to reproduce the behavior:

  1. Login into the panel phplist

  2. Go to 'phplist3/lists/admin/?page=setup&tk=1c63b88932115188325586eab8221123'

  3. Chose 'Config' -> Click 'Add some subscribers' -> Chose 1/3 options (Copy and paste list of emails) -> 'Add a list'

  4. Insert Payload XSS:
    X
    bypass0

  5. Save

  6. xss alert message

Screenhost
bypass
bypass1
bypass2
bypass3

Also Video PoC
https://drive.google.com/file/d/1lm42PDQ2NZW4wajwq5eh4Hx9W69jAyLc/view?usp=sharing

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!!!

@r0ck3t1973
Copy link
Author

Payload xss
payload.txt

@Songohan22
Copy link

Nice...🤣🤣🤣

@michield
Copy link
Member

I'm not sure this is a valid report. As an admin you are allowed to put HTML in the description of a list. It only fires when you click the link and doesn't fire on the loading of the page.

@michield
Copy link
Member

I'm going to close this, but feel free to comment and re-open if you disagree.

@r0ck3t1973
Copy link
Author

Hi @maltfield
Are you sure it is not a valid report? I tried inserting payload on some other platform and got bounty. I think you should review it!
Tks,

@maltfield
Copy link
Contributor

oh hello. I think you meant to tag @michield :P

@r0ck3t1973
Copy link
Author

oh, sr @maltfield . :))

@michield
Copy link
Member

michield commented Jun 1, 2020

@r0ck3t1973 Yes, that's fine, I will review.

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

4 participants