沛星互動科技股份有限公司 上傳檔案漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-00464
  •  發信 Vendor: Appier / 沛星互動科技股份有限公司
  • Title: 沛星互動科技股份有限公司 上傳檔案漏洞
  • Introduction: 可上傳含有 <script> 的 HTML 檔案,使用者點開網址就會執行任意程式碼

處理狀態

目前狀態

公開
Last Update : 2025/08/07
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 已複測
  • 公開

處理歷程

  • 2025/05/23 15:03:19 : 新提交 (由 yusheng 更新此狀態)
  • 2025/05/27 17:11:18 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/06/12 14:37:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/06/12 14:37:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/07/23 03:00:08 : 公開 (由 HITCON ZeroDay 平台自動更新)
  • 2025/07/29 16:27:35 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/07/31 14:44:36 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2025/08/06 08:50:56 : 確認已修補 (由 yusheng 更新此狀態)
  • 2025/08/07 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-00464
  • 通報者:cat1528985 (yusheng)
  • 風險:高
  • 類型:任意檔案上傳 (Arbitrary File Upload)

參考資料

攻擊者可上傳任意檔案至該主機,有機會經由上傳之文件取得該主機系統權限。

漏洞說明: OWASP - Unrestricted File Upload
https://www.owasp.org/index.php/Unrestricted_File_Upload

漏洞說明: CWE-434: Unrestricted Upload of File with Dangerous Type
https://cwe.mitre.org/data/definitions/434.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://botbonnie-asset-prod.s3.ap-northeast-1.amazonaws.com/text/ROv-2RwCJ.html
https://cdn.botbonnie.com/text/ROv-2RwCJ.html

敘述

種類

任意檔案上傳 (Arbitrary File Upload)

重現漏洞方式

  1. 註冊 botbonnie 免費 14 天試用服務(https://console.botbonnie.com/console/bots
  2. 上傳圖片的 API Endpoint 沒有實作嚴格的檢查,可上傳任意檔案
    const formData = new FormData();
    f.append("file", new File([`<svg><script>alert("XSS")</script></svg>`], "index.html", { type: "text/html" }));
    fetch("https://backend.botbonnie.com/api/upload/", {
    "headers": {
    "authorization": `Bearer ${token}`
    },
    "body": formData,
    "method": "POST",
    });

影響

修補建議

- 上傳圖片的 API Endpoint (https://backend.botbonnie.com/api/upload/),實作嚴格的檔案格式,內容, Magic Number檢查
- 如果允許使用者上傳 svg, html,則需要針對內容做 sanitize

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;