居間國際室內裝修設計有限公司 疑似測試網站 env leak,可以以此登入資料庫,並任意讀檔 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-00137
  •  發信 Vendor: 居間國際室內裝修設計有限公司
  • Title: 居間國際室內裝修設計有限公司 疑似測試網站 env leak,可以以此登入資料庫,並任意讀檔
  • Introduction: env leak,可以以此登入資料庫,並任意讀檔

處理狀態

目前狀態

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

處理歷程

  • 2025/02/07 09:49:16 : 新提交 (由 {{萌新}} 更新此狀態)
  • 2025/02/07 15:57:12 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/02/10 15:05:39 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/02/10 15:05:39 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/02/10 15:05:40 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/04/09 03:00:49 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-00137
  • 通報者:nhd1261 ({{萌新}})
  • 風險:高
  • 類型:任意檔案下載 (Arbitrary File Download)

參考資料

攻擊者可經由該漏洞取得後端系統中的任意資料(包含主機之敏感檔案)。

OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control

OWASP Top 10 - 2013 A4 - Insecure Direct Object References
https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References

CWE-284: Improper Access Control
https://cwe.mitre.org/data/definitions/284.html

OWASP - Path Traversal 及防禦方式
https://www.owasp.org/index.php/Path_Traversal

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
https://cwe.mitre.org/data/definitions/22.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

http://35.229.168.39:443/
http://35.229.168.39:443/Backend/.env
http://35.229.168.39:443/adminer.php

敘述

env leak有資料庫帳密,可透過adminer登入資料庫,並發現可任意讀檔,比如/etc/passwd,但檔案寫入受到限制,無法在網站目錄寫入webshell,找到一個管理員帳密弱密碼,登入後發現內容為空,可能是測試網站或demo。
http://35.229.168.39:443/Backend/.env

擷圖

留言討論

聯絡組織

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