Stored XSS in RSS Feeds Title (Concrete5 v8.1.0)
The RSS Feeds Title parameter in Concrete5 v8.1.0 does not sanitise user input, allowing HTML and JavaScript to be stored. An attacker could inject a script that executes whenever someone visits the RSS Feeds dashboard page.
- Triaged in 4 hours
- Fixed in 30 hours
- Disclosed after 31 days
Summary / Description:
The RSS Feeds Title (pfTitle=) parameter does not correctly sanitize user input. This allows HTML & Javascript to be stored and executed any time someone visits /index.php/dashboard/pages/feeds
Steps to Reproduce
- Open up Firefox
- Login (/index.php/login)
- Visit (index.php/dashboard/pages/feeds/add) to add a new RSS Feed
- Put
"><svg/onload=confirm(document.domain)>as the title - Put whatever you want in the other fields and click add!
POST REQUEST
POST /index.php/dashboard/pages/feeds/add_feed HTTP/1.1
Host: ec2-34-200-232-193.compute-1.amazonaws.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: http://ec2-34-200-232-193.compute-1.amazonaws.com/index.php/dashboard/pages/feeds/add
Cookie: CONCRETE5=qgl7qbdhh6le0jph3f07uo6eu0; CONCRETE5_LOGIN=1; dashboardPanelStatus=closed
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 351
ccm_token=1492345382%3A9f0e473b3d4455fe197861e0fa77d671&pfTitle=%22%3E%3Csvg%2Fonload%3Dconfirm%28document.domain%29%3E&pfHandle=cdl&pfDescription=cdl&iconFID=0&cParentID=0&ptID=0&customTopicAttributeKeyHandle=&customTopicTreeNodeID=0&pfIncludeAllDescendents=0&pfDisplayAliases=0&pfDisplayFeaturedOnly=0&pfContentToDisplay=S&pfAreaHandleToDisplay=Main
<svg/onload=confirm(document.domain)>will be executed in your browser!
Anytime someone visits the RSS Feeds page (index.php/dashboard/pages/feeds), the payload will fire!
Product, Version, and Configuration (If applicable)
Concrete5 v8.1.0
Suggested Mitigation/Remediation Actions
Sanitize the pfTitle= parameter :)
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 fails to sanitise or encode the RSS feed title before storing and rendering it in the dashboard page.
Impact
An attacker could execute JavaScript in the browser of anyone who visits the RSS Feeds dashboard page.
What the attacker needed
Access to the dashboard; ability to add an RSS feed
The fix
The pfTitle parameter should be sanitised to prevent HTML and JavaScript from being stored and executed.
How it was found
- Open Firefox.
- Log in to the application.
- Go to the page to add a new RSS feed.
- Enter a crafted SVG payload as the feed title.
- Fill in the other fields and submit the form.
- Observe the script executing in the browser.
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.
This is a stored cross-site scripting (XSS) bug. A user who can add an RSS feed can put a small script into the feed's title, and the application saves it without cleaning it up. Later, anyone who opens the RSS feeds page in the dashboard runs that script in their browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.