xss for admin of https://newsletter.nextcloud.com
The admin template view page of phpList 3.2.5 reflects an unsanitised URL parameter into the HTML, allowing an attacker to inject a script. An attacker who convinces a logged-in administrator to visit a crafted link could execute JavaScript in the administrator's browser.
- Triaged in 2 days
- Fixed in 42 days
- Disclosed after 7 months
a site https://newsletter.nextcloud.com to have phplist 3.2.5
steps to reproduce:
-
to use firefox browser, latest version
-
log in as admin
-
alert box with name of domain
please, look at my poc video in attachment (has been installed phplist 3.2.5 on the localhost)
Attachments
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application reflects the 'id' parameter into the page without proper output encoding or input validation.
Impact
An attacker could run JavaScript in an administrator's browser, as shown by an alert box.
What the attacker needed
Victim is a logged-in admin; victim clicks a crafted link; target runs phpList 3.2.5
How it was found
- Use the latest version of Firefox.
- Visit the crafted URL containing the script in the 'id' parameter.
- Log in as an administrator.
- An alert box showing the domain name appears.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A reflected cross-site scripting (XSS) flaw means a web page takes something from the address bar and puts it directly into the page without cleaning it. Here the 'id' value is placed into the HTML, so adding a script tag makes the browser run that script. If an administrator clicks a prepared link, the script runs with the administrator's permissions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.