Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2023-00119
- Vendor: 新世紀中醫診所
- Title: 新世紀中醫診所 使用具有檔案上傳漏洞的過時套件導致可任意執行指令
- Introduction: 可繞過檔案類型限制上傳 webshell
處理狀態
目前狀態
公開
Last Update : 2023/05/12
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2023/03/12 21:05:16 : 新提交 (由 鄉民 更新此狀態)
- 2023/03/12 21:24:03 : 新提交 (由 鄉民 更新此狀態)
- 2023/03/13 12:25:12 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/03/15 11:44:43 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/03/15 11:44:43 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/05/12 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2023-00119
- 通報者:鄉民
- 風險:嚴重
- 類型:遠端命令執行 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://newagetcmc.twtcm.com.tw/
http://newagetcmc.twtcm.com.tw/sys_admini/fckeditor/editor/filemanager/connectors/uploadtest.html
http://newagetcmc.twtcm.com.tw/sys_admini/fckeditor/editor/filemanager/connectors/uploadtest.html
敘述
使用 dirsearch 發現目標網站使用套件 fckeditor
並且透過以下網址確認其使用版本 2.6.4
http://newagetcmc.twtcm.com.tw/sys_admini/FCKeditor/_whatsnew.html
並且該版本具有任意檔案上傳漏洞
http://newagetcmc.twtcm.com.tw/sys_admini/fckeditor/editor/filemanager/connectors/uploadtest.html
嘗試上傳一句話木馬後門,並指定上傳路徑,
確認木馬上傳成功並可執行系統指令,並且該系統權限為system
修補建議
1. 更新使用套件版本
2. 不要使用最高權限架設網站
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。