Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2017-00825
- Vendor: TACERT台灣學術網路危機處理中心
- Title: 國家圖書館網站完整SQL語法洩露
- Introduction: 網站完整SQL語法洩露
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2017/10/08 10:20:57 : 新提交 (由 傳說中的廢人 更新此狀態)
- 2017/10/08 19:23:22 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/10/13 01:26:58 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/10/13 01:27:00 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/12/08 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2017-00825
- 通報者:elijiachen (傳說中的廢人)
- 風險:低
- 類型:資訊洩漏 (Information Leakage)
參考資料
OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure
CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html
相關網址
敘述
完整的SQL語法洩露如下:
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' from ,sys_folder_record where .Fmain_id=sys_folder_record.source_id and sys_fo' at line 1
Query: select . from ,sys_folder_record where .Fmain_id=sys_folder_record.source_id and sys_folder_record.source_table = '' and sys_folder_record.parent_source_id='' order by .rank desc
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' from ,sys_folder_record where .Fmain_id=sys_folder_record.source_id and sys_fo' at line 1
Query: select . from ,sys_folder_record where .Fmain_id=sys_folder_record.source_id and sys_folder_record.source_table = '' and sys_folder_record.parent_source_id='' order by .rank desc
Error: Table 'catweb._cnt' doesn't exist
Query: update _cnt set hit_count='1' where Fmain_id = '' and _id=''