Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00795
- Vendor: 高屏澎區網中心
- Title: 高屏澎區網中心 RCE漏洞
- Introduction: RCE
處理狀態
目前狀態
公開
Last Update : 2024/08/29
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2024/07/12 21:28:38 : 新提交 (由 xiulan 更新此狀態)
- 2024/07/13 17:28:37 : 新提交 (由 xiulan 更新此狀態)
- 2024/07/16 10:27:24 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 17:03:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 17:03:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 17:03:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/21 11:51:01 : 已修補 (由 組織帳號 更新此狀態)
- 2024/08/29 03:00:12 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00795
- 通報者:xiulan (xiulan)
- 風險:嚴重
- 類型:遠端命令執行 (Remote Code Execution)
參考資料
攻擊者可經由該漏洞取得主機完整權限、任意寫入檔案及取得大量內網資訊。
漏洞說明: OWASP - Code Injection
https://www.owasp.org/index.php/Code_Injection
漏洞說明: OWASP - Command Injection
https://www.owasp.org/index.php/Command_Injection
漏洞說明: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
http://cwe.mitre.org/data/definitions/77.html
漏洞說明: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
http://cwe.mitre.org/data/definitions/78.html
漏洞說明: OWASP - Code Injection
https://www.owasp.org/index.php/Code_Injection
漏洞說明: OWASP - Command Injection
https://www.owasp.org/index.php/Command_Injection
漏洞說明: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
http://cwe.mitre.org/data/definitions/77.html
漏洞說明: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
http://cwe.mitre.org/data/definitions/78.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://web.kpprc.edu.tw/function/temp.php
敘述
在閱讀高屏澎區網中心 官網後台弱密碼、網頁資訊及個資外洩 - HITCON ZeroDay時
注意到其中一張圖
觀察報錯會發現
程式對
/var/www/kpprcweb/function/accesslog.php
取了不存在的值
嘗試戳戳看
https://web.kpprc.edu.tw/function/accesslog.php
發現畫面全白且狀態碼為200
說明該檔案確實存在
使用dirsearch工具
python dirsearch.py -u "https://web.kpprc.edu.tw/function" --random-agent
進入
https://web.kpprc.edu.tw/function/temp.php
後發現這是一個檔案上傳工具
嘗試上傳webshell
!!測試後已將shell刪除!!
修補建議
刪除temp.php
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。