CyberPanelのAIスキャナーAPIに脆弱性、OSコマンドを実行されるおそれ
Summary
CyberPanel 2.4.2から3.0.12より前のバージョンには、AIスキャナーのファイルAPIにOSコマンドインジェクションの脆弱性があります。スキャンのファイルアクセス用トークンかスキャナーのAPIキーを持つ人が、Webサイトのユーザー権限でシェルコマンドを実行できるおそれがあります。修正版の3.0.12が公開されているため、早めにアップデートしてください。
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.
CyberPanel 2.4.2から3.0.12より前のバージョンには、AIスキャナーのファイルAPIにOSコマンドインジェクションの脆弱性があります。スキャンのファイルアクセス用トークンかスキャナーのAPIキーを持つ人が、Webサイトのユーザー権限でシェルコマンドを実行できるおそれがあります。修正版の3.0.12が公開されているため、早めにアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| usmannasircyberpanel |
≥ 2.4.2, < 3.0.12→ 3.0.12 |
3.0.12 |
Original description The description as published by the source.
CyberPanel 2.4.2 before 3.0.12 contains an OS command injection vulnerability in the AI Scanner worker file API in aiScanner/api.py that allows holders of a scan file-access token or scanner API key to execute shell commands. Attackers can supply a path containing double quotes and command substitution to the list, content, or file handlers, bypassing secure_path_check and running commands as the website's Linux user.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com