Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism
Résumé
Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism
Description d'origine
La description telle que publiée par la source (souvent en anglais).
FacturaScripts is an open source accounting and invoicing software. Versions 2026 and below contain a critical vulnerability in the Plugins::add() function. The system fails to properly validate the file paths within uploaded ZIP archives. This allows an attacker to perform a Zip Slip attack, leading to Arbitrary File Write and Remote Code Execution (RCE) by overwriting sensitive .php files outside the designated plugins directory. The vulnerability is located in Plugins.php. While the testZipFile function attempts to validate that the ZIP contains only one root folder, it does not sanitize or validate the individual file paths within that folder. An attacker can bypass this check by naming a file ValidPluginName/../../shell.php. The explode function will see ValidPluginName as the root folder, satisfying the count($folders) != 1 check. However, during extraction, the ../../ sequence triggers a path traversal, allowing the file to be written anywhere the web server has permissions the root directory. This issue is fixed in version 2026.1.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-27891 a été découverte dans path-traversal.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 7.2/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « path-traversal CVE-2026-27891 » sur le site de l'éditeur.
CVE-2026-27891 (path-traversal) — CWE-20 / CVSS v3 7.2
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Versions affectées : <= 2025.71
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
アップロードされたZIPアーカイブ内のファイルパスを正しく検証しないための脆弱性
FacturaScriptsのPlugins.php, Plugins::add()関数
この脆弱性により、任意のファイル書き込みやリモートコード実行が可能です。
バージョン2026.1にアップデートしてください。
情報なし
アップロードされたZIPファイルのファイルパスのサニタイズおよび検証を行っているか確認してください。
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com