Prime CMSに認証済み管理者がOSコマンドを実行できる脆弱性
Summary
Prime CMS(@primecms/core)のupdateSystem GraphQLミューテーションに、OSコマンドインジェクションの脆弱性が見つかりました。認証済みの管理者が、パッケージのバージョン文字列に細工をしてサーバープロセスの権限でコマンドを実行できるおそれがあります。対象は0.4.0-beta.0までで、修正版の情報は現時点で確認できていないため、最新の情報を確認してください。
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.
Prime CMS(@primecms/core)のupdateSystem GraphQLミューテーションに、OSコマンドインジェクションの脆弱性が見つかりました。認証済みの管理者が、パッケージのバージョン文字列に細工をしてサーバープロセスの権限でコマンドを実行できるおそれがあります。対象は0.4.0-beta.0までで、修正版の情報は現時点で確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| birkirprime |
≤ 0.4.0-beta.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an OS command injection vulnerability in the updateSystem GraphQL mutation that allows authenticated administrators to execute shell commands via the package version string. Attackers can append shell metacharacters to the unvalidated version value, which is passed to child_process.exec() in yarn add or npm install commands, executing commands as the server process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report github.com
- web github.com
- web github.com
- web github.com