Skip to content

Vulnerability in FacturaScripts

CVE-2026-27891 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

FacturaScriptsのプラグイン取り込み処理に、ZIPファイル内のパスを検証しnot不備があり、細工したZIPで任意のファイルを書き込み、遠隔からプログラムを実行される可能性があります。影響を受けるのは2026以前の版で、2026.1で修正されています。2026.1以降の版へ更新してください。

What is the problem

アップロードされたZIPアーカイブ内のファイルパスを正しく検証しないための脆弱性

Affected scope

FacturaScriptsのPlugins.php, Plugins::add()関数

Severity

この脆弱性により、任意のファイル書き込みやリモートコード実行が可能です。

How to fix

バージョン2026.1にアップデートしてください。

Workaround

情報なし

Detection

アップロードされたZIPファイルのファイルパスのサニタイズおよび検証を行っているか確認してください。

Original description The description as published by the source.

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

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details