Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-01473
- Vendor: 高雄市勞工之友總會
- Title: 新高雄總工會 SQL Injection to login、任意檔案上傳造成RCE
- Introduction: SQL Injection to login、任意檔案上傳造成RCE
處理狀態
目前狀態
公開
Last Update : 2025/01/05
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/11/05 15:41:01 : 新提交 (由 {{萌新}} 更新此狀態)
- 2024/11/05 15:56:46 : 新提交 (由 {{萌新}} 更新此狀態)
- 2024/11/07 16:02:52 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/11/10 13:33:49 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/11/10 13:33:49 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/11/10 13:33:49 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/01/05 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-01473
- 通報者:nhd1261 ({{萌新}})
- 風險:嚴重
- 類型:遠端命令執行 (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://www.lfu.org.tw/admin/adminlogin.php
敘述
前台一些參數添加單引號會報錯,查詢紀錄發現ZD-2017-00757通報過,但現在使用SQLmap測試會被防火牆干擾,無法注入,於是找到後台登入介面,發現可以SQLi to login,並在表單下載的上傳功能發現漏洞,這個上傳功能完全未對檔案做檢查,可以直接上傳php shell,但上傳後訪問路徑後發現403,很顯然防火牆阻擋了php shell在上傳目錄執行,於是將副檔名修改成.pHp,再次上傳後訪問,發現即可執行shell,造成RCE,所上傳shell已經全部刪除。
SQLi to login
帳號:'OR '1'='1' -- '
密碼:隨意
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。