Skip to content
XSS Disclosed report Beginner

Stored XSS on Add Event in Calendar

gamliel Follow

Originally disclosed on HackerOne

  • Triaged in 2 months
  • Fixed in 7 months
  • Disclosed after 8 months

Greetings In crayons we trust

Hello @Concrete5 Team.

While checking the Hacktivity in your HackerOne Program I saw many reports regarding to XSS thus I will omit the vulnerability description I'm going to report now.

After downloaded Concrete5 8.3.1 released at 12/20/17, while searching for some fields where I could insert a XSS payload I stopped into: Dashboard > Calendar & Events

###Steps to reproduce:

  1. Open your favorite updated web browser (Firefox or Chrome)
  2. Log into your Concrete5 instance as admin
  3. For the ease create an user (maybe named user2) and add it to Administrators group
  4. Open other browser window in Private or Incognito mode and log in as user2
  5. As user2 go to Dashboard > Calendar & Events
  6. Add a Calendar and named, for example User2 Calendar
  7. Now, click on Add Event button and schedule an event
  8. In the Name field type something like this: ">TEST<img src=K onerror={here goes mad js code}>
  9. My inoffensive pop-up payload: ">TEST<img src=K onerror=prompt(document.domain)>
    event_payload.png
    event_payload.png From the original on HackerOne
  10. Click on Save & Close button
  11. The Prompt box will appear in the context of user2 browser showing your domain
    event_xss_user2.png
    event_xss_user2.png From the original on HackerOne
    (close it)
  12. Click on that event, select "Edit" and now click on Publish Event in order to make it public
  13. Now go to the main web browser window where admin user is logged
  14. Go to Dashboard > Calendar & Events
  15. The Prompt box will appear showing the domain in the admin browser
    event_xss_admin.png
    event_xss_admin.png From the original on HackerOne

I made a 11 min PoC video: 'F24972'

Impact

In Step 3 I mentioned "For the ease" creating an user and add it to Administrators group. This intended behavior is in order to the new user has access to add Calendars and create Events but, for the long way or in other scenario, an administrative user can grant access to Registered Users to add calendars and events although a calendar could be in public pages if the page allows to show a calendar.

Even, if the cookie can't be stolen because it has set the HttpOnly flag

event_httponly-flag.png
event_httponly-flag.png From the original on HackerOne

and it could not be directly accessed via client-side JavaScript, If malicious user can insert JavaScript code in a field where he is allowed to. The limit of mad actions is the attacker's imagination.

Attachments

XSS_on_AddEvent_Concrete5.webm From the original on HackerOne

The original report as published on HackerOne, by gamliel. 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.

What is known

A low-severity XSS bug in Concrete CMS, rated CVSS 3.9. HackerOne made it public on 1 September 2018.

About XSS

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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 gamliel

View all

4 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.