Skip to content
RCE Write-up Intermediate

Deep Dive: Fuel CMS 1.4.1 RCE Exploitation (CVE-2018–16763)

Fuel CMS 1.4.1 contains an unauthenticated remote code execution vulnerability in the page selection endpoint where the filter parameter is passed to eval, allowing arbitrary PHP code execution. An attacker can execute system commands and establish a reverse shell.

medium.com

Published on medium.com

Fuel CMS 1.4.1 contains a critical unauthenticated Remote Code Execution (RCE) vulnerability identified as CVE-2018–16763. This vulnerability allows attackers to execute arbitrary system commands on the target server without authentication, making it a severe security risk for organizations running vulnerable versions.

Yen Wang, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

The filter parameter is passed directly to PHP's eval function without sanitisation.

Impact

An attacker could execute arbitrary system commands and gain a reverse shell, leading to full server compromise.

What the attacker needed

Target runs Fuel CMS 1.4.1; Network access to the target

The fix

Update Fuel CMS to a version that does not pass user input to eval.

How it was found

  1. Scan the target to confirm Fuel CMS is installed.
  2. Download and prepare the exploit script.
  3. Start a netcat listener on the attacker machine.
  4. Run the exploit script against the target URL.
  5. Enter a reverse shell command in the interactive prompt.
  6. Stabilise the shell for full interactivity.

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 write-up has not been written yet. The Original tab links to the source.

This is a bug in a content management system called Fuel CMS. The software takes input from a web request and runs it as computer code without checking it first, so an attacker can make the server run any command they want. This gives them full control of the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.