Bir CMS Kabusu: CVE-2023–27372 ile SPIP Üzerinde Uzaktan Kod �
SPIP before 4.2.1 passed user-supplied form data to PHP's unserialize() without adequate filtering, allowing an unauthenticated attacker to inject a malicious serialized object. This could lead to remote code execution on the server.
Published on medium.com
Siber güvenlik dünyasında bazı zafiyetler vardır ki, sistemin en temelindeki “güven” ilişkisini suistimal eder. Bugün, popüler içerik yönetim sistemi (CMS) SPIP’i vuran ve CVSS skoru 9.8 (Kritik) olan CVE-2023–27372 zafiyetinin derinliklerine ineceğiz.
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
Likely the application passed unsanitised user input from form parameters to PHP's unserialize() function, enabling object injection.
Impact
An unauthenticated attacker could execute arbitrary commands on the server, leading to full compromise, data theft, or site defacement.
What the attacker needed
No authentication required; target runs SPIP before 4.2.1; attacker can send HTTP requests
The fix
The vulnerability was fixed in SPIP 4.2.1; users should upgrade to that version or later.
How it was found
- Find a public form on the SPIP site (e.g., contact or registration page).
- Craft a malicious serialized PHP object containing system commands.
- Send the payload via an HTTP request to the vulnerable form parameter.
- The server unserializes the data and executes the hidden commands.
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 SPIP. The software took data that visitors typed into forms and turned it back into internal objects without checking it properly. An attacker could craft a special text that, when turned into an object, made the server run commands, giving them control of the website.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.