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.
Hi there, This article is about Spip, root-me.org, XSS, SQLi, and Remote Code Execution. Ever wondered how secure is your daily website ?
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
- Set up a local SPIP instance using Docker.
- Crawl the application and collect URLs with parameters.
- Run a custom fuzzer (Sulfateuse) to test parameters for injection.
- Identify the '_oups' parameter as unsanitised and reflected in an eval() call.
- 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.