Description
odt2spip plugin for SPIP before 4.4.0 contains an OS command injection vulnerability that allows authenticated authors to execute arbitrary commands by uploading a document with a maliciously crafted filename through the document import form. Attackers can embed shell metacharacters such as $(id) in a non-.odt filename, which survives insufficient sanitization in odt2spip_deplacer_fichier_upload() and LibreOffice::createCommand(), to achieve remote code execution as the web-server user during the LibreOffice conversion process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| odt2spip | odt2spip | < 4.4.0 | 4.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | spip | No fix yet | — |
| Ubuntu 26.04 LTS | spip | No fix yet | — |
| Ubuntu 24.04 LTS | spip | No fix yet | — |
| Ubuntu 22.04 LTS | spip | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | spip | No fix yet | — |
| Ubuntu Pro 18.04 LTS | spip | No fix yet | — |
| Ubuntu Pro 16.04 LTS | spip | No fix yet | — |
References
- Plugin Download Page product patch
- VulnCheck Advisory: odt2spip < 4.4.0 OS Command Injection via Document Filename third-party-advisory
- VulnCheck Blog: SPIP odt2spip Plugin: Authenticated Command Injection via Uploaded Document Filename exploit technical-description