Handeskに任意のファイルをアップロードされる脆弱性、認証済みの担当者がチケットのコメントから遠隔でプログラムを実行できる
Summary
Handesk 1.5以前では、認証済みの担当者がチケットのコメントに添付ファイルを付けて、拡張子を問わずアップロードできます。PHPファイルを置かれるとWebサーバーの権限でプログラムを実行される(RCE)おそれがあり、CVSSv3のスコアは8.8です。修正版は事実に示されていないため、最新の情報を確認してください。
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.
Handesk 1.5以前では、認証済みの担当者がチケットのコメントに添付ファイルを付けて、拡張子を問わずアップロードできます。PHPファイルを置かれるとWebサーバーの権限でプログラムを実行される(RCE)おそれがあり、CVSSv3のスコアは8.8です。修正版は事実に示されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| BadChoiceHandesk |
≤ 1.5→ Not listed ≤ 49814852fe97f524e513e1ca9d78f4c1f4a64dc3→ Not listed |
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.
Handesk through 1.5 contains an unrestricted file upload vulnerability in Attachment::storeAttachmentFromRequest() that allows authenticated agents to upload files with arbitrary extensions by attaching them to ticket comments without extension, MIME type, or size validation. Attackers can upload a PHP file via POST /tickets/{ticket}/comments, which is stored under storage/app/public/attachments and served from /storage/attachments/, to achieve remote code execution as the web server user or serve malicious HTML/SVG content from the application origin.
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