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.
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
- Scan the target to confirm Fuel CMS is installed.
- Download and prepare the exploit script.
- Start a netcat listener on the attacker machine.
- Run the exploit script against the target URL.
- Enter a reverse shell command in the interactive prompt.
- 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.