baserCMSで任意のコマンドを実行される恐れ 悪用の確認あり
Summary
baserCMSのウィジェットエリア機能で、保存されたデータをunserialize()で復元する処理に問題があり、管理者権限を持つ攻撃者によりWebサーバーの権限でコマンドを実行される恐れがあります。影響を受けるのは5.0.0から5.3.2未満、5.4.0から5.4.2未満の版です。修正版の5.3.2または5.4.2へ更新してください。
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.
baserCMSのウィジェットエリア機能で、保存されたデータをunserialize()で復元する処理に問題があり、管理者権限を持つ攻撃者によりWebサーバーの権限でコマンドを実行される恐れがあります。影響を受けるのは5.0.0から5.3.2未満、5.4.0から5.4.2未満の版です。修正版の5.3.2または5.4.2へ更新してください。
Original description The description as published by the source.
baserCMS is a website development framework. In versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2, the widget-area entity serializes widgets only when the submitted value is an array, allowing a string submitted through the admin JSON API to be stored unchanged. Entity reads, including front-end rendering and API responses, deserialize the stored value with unserialize() without an allowed_classes restriction, accepting both raw and base64-encoded serialized data. An administrator, or an attacker who obtains widget-write capability through a separate vulnerability such as chained XSS, can plant an object graph that subsequently triggers on unauthenticated page requests. Two demonstrated gadget chains in the default dependency set use composer/composer ProcessExecutor::startJob() with Process::fromShellCommandline(), or logiscape/mcp-sdk-php StdioTransport::connect() with StdioServerParameters, to reach proc_open() and execute commands as the web-server user. Deserialization bypasses constructor-based readonly safeguards, and the stored payload can execute repeatedly until the database row is repaired. Unauthenticated page access is a trigger after privileged payload storage, not an unauthenticated means of initially planting the payload. This issue has been patched in versions 5.3.2 and 5.4.2.
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
- web github.com