Gửi #756144: fastapiadmin <= 2.2.0 Unrestricted Uploadthông tin

tiêu đềfastapiadmin <= 2.2.0 Unrestricted Upload
Mô tảAn unrestricted file upload vulnerability in FastapiAdmin (≤ 2.2.0) at /api/v1/common/file/upload allows authenticated users with the module_common:file:upload permission to write arbitrary files to the server filesystem and, when combined with the scheduled task APIs, achieve remote code execution; the upload routine trusts the Content-Type header to infer allowed extensions, does not validate or canonicalize file paths, and writes files directly under the upload directory, enabling attackers to bypass extension checks (e.g., upload a Python script disguised as an SVG), persist it, and trigger execution via task scheduling. Mitigations include enforcing server-side content inspection (validate file magic bytes), deriving extensions from content not headers, normalizing and restricting saved paths to a safe upload directory with no execute permissions, generating safe randomized filenames, imposing strict allowlists for upload types, scanning uploads for dangerous content, and requiring least-privilege access controls and audit logging for upload and task APIs.
Nguồn⚠️ https://github.com/CC-T-454455/Vulnerabilities/tree/master/fastapi-admin/vulnerability-3
Người dùng
 Anonymous User
Đệ trình11/02/2026 09:57 (cách đây 2 các tháng)
Kiểm duyệt22/02/2026 16:09 (11 days later)
Trạng tháiđược chấp nhận
Mục VulDB347361 [FastApiAdmin đến 2.2.0 Scheduled Task API controller.py upload_controller nâng cao đặc quyền]
điểm20

Do you need the next level of professionalism?

Upgrade your account now!