WeGIAに遠隔からプログラムを実行される脆弱性、バックアップ機能の悪用に注意
Summary
バックアップ管理の権限を持つ利用者が、細工したアーカイブをアップロードして、Webサーバーの権限でプログラムを実行できる脆弱性です。影響を受けるのは3.9.1より前のWeGIAで、3.9.1で修正されています。CVSSは7.2で、公開は本日です。3.9.1以降へ速やかに更新してください。
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.
バックアップ管理の権限を持つ利用者が、細工したアーカイブをアップロードして、Webサーバーの権限でプログラムを実行できる脆弱性です。影響を受けるのは3.9.1より前のWeGIAで、3.9.1で修正されています。CVSSは7.2で、公開は本日です。3.9.1以降へ速やかに更新してください。
Original description The description as published by the source.
WeGIA is a web manager for charitable institutions. Prior to 3.9.1, a user with backup-management permission can upload a crafted gzip-compressed tar archive through web/html/configuracao/importar_dump.php, after which web/controle/control.php accepts a user-controlled modulo value and combines it with nomeClasse for require_once(). By using a phar:// path to the uploaded archive and selecting the whitelisted InternoControle, whose empty resource list is treated as authorized, the user can cause an embedded controller file and its requested method to execute as the web-server process. The attack path depends on the configured BKP_DIR, and enabling phar.readonly or phar.require_hash does not prevent PHP from reading the gzip tar archive through phar://. Successful exploitation permits access to or modification of sensitive data, configuration, credentials, source files, host commands, and services reachable by the web-server account. This issue is fixed in version 3.9.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com