Description d’origine
Thelia before 3.1.2 and 3.2.x before 3.2.1 contains an unrestricted file upload vulnerability that allows authenticated back-office users to upload PHP files by appending a trailing space to filenames. FileProcessorService validates the raw filename but FileManager::sanitizeFileName() strips the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user.
Logiciels concernés
- Thelia ≥ 3.2.0 < 3.2.1< 3.1.2 Corrigé dans: 3.2.1, 3.1.2 correspondance par dépôt ou paquet
Détails
- Publication
- 2026-10-13
- Dernière modification
- 2026-10-14
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-434
- EPSS (probabilité d’exploitation à 30 jours)
- 0.44% (percentile 39)
Références
- cve.org/CVE-2026-109397
- nvd.nist.gov/vuln/detail/CVE-2026-109397
- github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9
- github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a
- github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc
- github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService...
- github.com/thelia/thelia/releases/tag/3.1.2
- github.com/thelia/thelia/releases/tag/3.2.1
- www.vulncheck.com/advisories/thelia-before-3.1.2-and-3.2-x-before-3.2.1-file-upload-rce-vi...
Suivez ces versions sur vos propres serveurs
InfraGuard collecte les versions logicielles installées sur chaque serveur et signale celles qui présentent des vulnérabilités connues. Auto-hébergé : rien ne quitte votre réseau.
Ce produit utilise des données de l’API du NVD, mais n’est ni approuvé ni certifié par le NVD. CVE® est une marque déposée de The MITRE Corporation ; les enregistrements CVE sont utilisés conformément aux conditions d’utilisation du CVE Program.