Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2018-16763 PoC — FUEL CMS 注入漏洞

Source
Associated Vulnerability
Title: FUEL CMS 注入漏洞 (CVE-2018-16763)
Description:FUEL CMS 1.4.1 allows PHP Code Evaluation via the pages/select/ filter parameter or the preview/ data parameter. This can lead to Pre-Auth Remote Code Execution.
Description
A Proof-of-Concept (PoC) exploit for CVE-2018-16763 (Fuel CMS - Preauthenticated Remote Code Execution).
Readme
# CVE-2018-16763 Proof-of-Concept

A Proof-of-Concept (PoC) exploit for CVE-2018-16763 (Fuel CMS - Preauthenticated Remote Code Execution).

## Description

This Python 3 program serves as a PoC for the CVE-2018-16763 vulnerability in the Fuel CMS content management system. Specifically, the vulnerability allows for PHP Code Evaluation through the pages/select/filter parameter (implemented in this PoC), leading to Preauthenticated Remote Code Execution, a critical system vulnerability. 

## Getting Started

### Dependencies

* Python 3 and the Python Standard Library
* The Open Source "git" Version Control System
* Other Python Packages/Modules (see requirements.txt for more details)
* CMD, PowerShell, Terminal, or some other Command Line Interface (CLI) 
* A Windows, Linux, Unix, or macOS Operating System 

### Installation

1. Download the git repository.
```
git clone https://gitlab.com/python-projects7372210/cve-2018-16763-proof-of-concept.git
```

2. Enter the git repository. 
```
cd cve-2018-16763-proof-of-concept
```

3. Install the required packages and other dependencies. 
```
python3 -m pip install -r requirements.txt
```

### Program Execution

Run the exploit script against a vulnerable target.
(ONLY RUN THE SCRIPT AGAINST A TARGET YOU OWN OR A TARGET PROVIDED BY TryHackMe, HackTheBox, OR ANOTHER ETHICAL HACKING WEBSITE!)
I would recommend checking out TryHackMe's "Ignite" Challenge for more details. You can also download the vulnerable Fuel CMS application from exploit-db.com.

```
python3 CVE-2018-16763.py -u URL
    [DEBUG] Connecting to http://10.10.60.46 ...
    [DEBUG] Succesfully connected!

    Enter Command:
    $ ls -la
    total 52
    drwxrwxrwx 4 root root  4096 Jul 26  2019 .
    drwxr-xr-x 3 root root  4096 Jul 26  2019 ..
    -rw-r--r-- 1 root root   163 Jul 26  2019 .htaccess
    -rwxrwxrwx 1 root root  1427 Jul 26  2019 README.md
    drwxrwxrwx 9 root root  4096 Jul 26  2019 assets
    -rwxrwxrwx 1 root root   193 Jul 26  2019 composer.json
    -rwxrwxrwx 1 root root  6502 Jul 26  2019 contributing.md
    drwxrwxrwx 9 root root  4096 Jul 26  2019 fuel
    -rwxrwxrwx 1 root root 11802 Jul 26  2019 index.php
    -rwxrwxrwx 1 root root    30 Jul 26  2019 robots.txt
```

## Help

* Are all of the dependencies present? If there are issues with conflicting dependencies, consider using a Python 3 virtual environment (https://docs.python.org/3/library/index.html).
* Is the target up?
* Is the target running Fuel CMS 1.4.1 or another version that is impacted by CVE-2018-16763? 

```
python3 CVE-2018-16763.py -h
    usage: CVE-2018-16763.py [-h] -u URL

    This tool exploits CVE-2018-16763 on Fuel CMS.

    options:
    -h, --help         show this help message and exit
    -u URL, --url URL  Fuel CMS url.
```

## Authors

[formaljek14]  

## Version History

* 0.1
    * Initial Release

## License

This project is licensed under the MIT License - see the LICENSE.md file for details.

## Acknowledgments

Heavily inspired by Exploit-DB programs, Vozec's PoC scripts, and the original PoC developed by Padsala Trushal.
* [Exploit-DB](https://www.exploit-db.com)
* [Vozec](https://github.com/Vozec)  
* [Padsala Trushal](https://github.com/padsalatushal)
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →