Post

AttackDefense.com [SXSS] - Concrete5 CMS

Image of AttackDefense 2018

Mission

In this exercise, the attacker already has admin access, so there is nothing more to be done. However, it looks like that admin access does lead to an XSS attack. So you can try to find this XSS as a purely academic exercise.

A version of Concrete5 CMS is vulnerable to a stored cross site scripting attack. The following username and password may be used to explore the application and/or find a vulnerability which might require authenticated access:

  • Username: admin
  • Password: 123321

Objective: Your task is to find and exploit this vulnerability.

Level difficulty: Easy

Category: Real World Webapps > Stored XSS

Solution

This time, I was provided with a full Concrete5 CMS website with multiple pages.

Image of AttackDefense 2018

On the following page, I found the admin panel login, and I got access using the provided username and password.

Image of AttackDefense 2018

By navigating the application control panel, I managed to obtain access to the environment variables at the following link.

Image of AttackDefense 2018

As we can see, the Concrete5 version is 5.6.1.2.

Image of AttackDefense 2018

Again, I will use @GetSploitBot for Telegram in order to obtain exploits for my version of Concrete5.

Image of AttackDefense 2018

Image of AttackDefense 2018

Following the above exploit, I was able to find the following path:

Image of AttackDefense 2018

I decided to set my XSS payloads at http://x9prkx7tb2hteo96do4zamsv0.public1.attackdefenselabs.com/index.php/dashboard/system/attributes/sets/category/1/, as seen in the example below:

Image of AttackDefense 2018

Result of my payloads:

Image of AttackDefense 2018

Image of AttackDefense 2018

This post is licensed under CC BY 4.0 by the author.