ExpressionEngine, Version 7.3.15
ExpressionEngine 7.3.15 contained a reflected XSS in its redirection page and stored XSS in several control panel fields, plus an open redirect that bypassed a warning prompt. An attacker could use the unauthenticated XSS to make an administrator's browser create a new Super Admin account, and the open redirect could aid phishing.
Published on bishopfox.com
The following document describes identified vulnerabilities in the ExpressionEngine application version 7.3.15, fixed in version 7.4.11.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing output encoding and input sanitisation in the redirection page and several control panel name fields, plus insufficient validation of redirect URLs.
Impact
An unauthenticated attacker could gain a Super Admin account if an administrator visited a crafted link; the open redirect could be used for phishing, though a warning prompt exists for external URLs.
What the attacker needed
Victim is an administrator; victim clicks a crafted link; no authentication for attacker
The fix
The vulnerabilities were fixed in version 7.4.11.
How it was found
- Craft a link to the redirection page containing a JavaScript payload.
- Send the link to an ExpressionEngine administrator.
- When the administrator visits the link, the payload executes in their browser.
- The payload reads the CSRF token from a control panel page.
- The payload creates a new user and assigns the Super Admin role.
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 write-up has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) lets an attacker run their own JavaScript in someone else's browser. Here, a specially crafted link could run code in an administrator's browser and quietly create a new admin account. The open redirect is a separate flaw where a link on the trusted site can send visitors to an attacker's site without a warning.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.