Skip to content
RCE Write-up Advanced

RCE on Spip and Root-Me

The report describes multiple cross-site scripting (XSS) and SQL injection vulnerabilities in the SPIP content management system, and a remote code execution (RCE) flaw where user input is passed to an eval() function without filtering. An attacker with author-level access could exploit these to execute arbitrary code on the server.

Laluka Follow

Published on thinkloveshare.com

Hi there, This article is about Spip, root-me.org, XSS, SQLi, and Remote Code Execution. Ever wondered how secure is your daily website ?

Laluka (@TheLaluka), on thinkloveshare.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

Impact

An attacker with author-level access could execute arbitrary code on the server, potentially leading to full system compromise.

What the attacker needed

Author-level access to SPIP

The fix

The vulnerabilities were fixed by the SPIP team after being reported.

How it was found

  1. Set up a local SPIP instance using Docker.
  2. Crawl the application and collect URLs with parameters.
  3. Run a custom fuzzer (Sulfateuse) to test parameters for injection.
  4. Identify the '_oups' parameter as unsanitised and reflected in an eval() call.
  5. Inject PHP code via the '_oups' parameter to achieve remote code execution.

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 report is about security holes in a website publishing tool called SPIP. The author found ways to inject malicious JavaScript (XSS) and database commands (SQL injection), and most seriously, a way to run their own code on the server (RCE) because the software took user input and executed it as PHP code without checking it.

What is RCE?

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

More by Laluka

View all

4 more disclosed reports, best first.

More from SPIP

View all

The newest disclosed reports for this program.

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.