Skip to content
XSS Disclosed report Beginner

Stored XSS in the file search filter

A stored cross-site scripting flaw existed in the file search filter of Concrete5, where a saved search phrase containing an image tag with an error handler executed script when the filter was edited. An attacker with administrator access could create a malicious filter and wait for another user to edit it, causing script execution in that user's browser.

solov9ev Follow

Originally disclosed on HackerOne

  • Triaged in 20 days
  • Fixed in 21 days
  • Disclosed after 51 days
  1. Download Concrete5 8.5.2 and install it
  2. Log into your Concrete5 instance as admin
  3. Go to Dashboard >Files > Search
  4. In the file search bar, click Advanced
  5. In the window that appears, enter a phrase and click the save button, paste the following payload: <img src=1 onerror=alert(1)> and click the save button
  6. In the filter search bar, click Edit and wait for the malicious code to execute

Impact

If a user has been added to the administrators group, then he can create a malicious filter and wait for someone else to change this filter

The original report as published on HackerOne, by solov9ev. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An administrator could create a malicious filter that executes script when another user edits it, potentially affecting other administrators.

What the attacker needed

Admin access to Concrete5; victim edits the malicious filter

How it was found

  1. Install Concrete5 8.5.2 and log in as admin.
  2. Go to Dashboard > Files > Search.
  3. In the file search bar, click Advanced.
  4. Enter a phrase and save it with an image tag containing an error handler.
  5. In the filter search bar, click Edit and wait for the script to run.

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.

Cross-site scripting (XSS) is when a website lets someone sneak in code that runs in another person's browser. Here, a saved search filter could hold a hidden script, and it ran when someone opened that filter to edit it. The person who made the filter needed to be an administrator already, so the risk was mainly between admin users.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by solov9ev

View all

10 more disclosed reports, best first.

More from Concrete CMS

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.