Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00449
- Vendor: 幼獅文化事業股份有限公司
- Title: 幼獅文化事業股份有限公司 網站存在大量 XSS 與 sql injection
- Introduction: 網站存在大量 XSS 與 sql injection
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2021/07/26 04:17:50 : 新提交 (由 BTtea 更新此狀態)
- 2021/07/26 04:25:35 : 新提交 (由 BTtea 更新此狀態)
- 2021/07/26 04:26:53 : 新提交 (由 BTtea 更新此狀態)
- 2021/07/26 23:33:38 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/07/27 10:27:48 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/07/27 10:27:48 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/07/27 13:55:42 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/07/27 13:55:42 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/07/27 13:55:42 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/09/25 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00449
- 通報者:blacktea_player (BTtea)
- 風險:高
- 類型:資料庫注入攻擊 (SQL Injection)
參考資料
漏洞說明: OWASP - SQL Injection
https://www.owasp.org/index.php/SQL_Injection
漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection
漏洞說明: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
https://cwe.mitre.org/data/definitions/89.html
防護方式: OWASP - SQL Injection Prevention Cheat Sheet
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet
相關網址
https://www.youth.com.tw/literature/p5-news_v.php?sno=78
https://www.youth.com.tw/book/p1-book_v.php?sno=1
敘述
單引號測試網址參數
https://www.youth.com.tw/literature/p5-news_v.php?sno=78
https://www.youth.com.tw/book/p1-book_v.php?sno=1
sno參數異常,sqlmap得到以下結果
然後是疑似洩漏的敏感資訊
以下都是xss相關網址,這個網站有帶參數的可能全部都需要檢查
https://www.youth.com.tw/literature/search.php?keyword=
https://www.youth.com.tw/junior/search.php?keyword=
https://www.youth.com.tw/publication/search.php?keyword=
https://www.youth.com.tw/book/p1-book.php?keyword=
https://www.youth.com.tw/book/search.php?keyword=
搜尋欄輸入 <script>alert(1)</script> 即可觸發
以下輸入 "><script>alert(1)</script> 也可
https://www.youth.com.tw/book/p1-book.php?bono=
https://www.youth.com.tw/teach/p7-teach-all.php?r=
https://www.youth.com.tw/book/p1-book.php?keyword=&query_para=
https://www.youth.com.tw/book/p1-book.php?bwno=
https://www.youth.com.tw/book/p1-book.php?auname=
https://www.youth.com.tw/book/p2-bibliotheca-2.php?page=
https://www.youth.com.tw/book/p2-bibliotheca-2.php?page=1&on_year=
https://www.youth.com.tw/book/p1-book.php?class_no=
修補建議
攻擊者可利用該漏洞取得後端資料庫權限及完整資料(包含大量使用者個資或敏感性資料),同時也有機會對資料進行破壞或修改。
漏洞說明: OWASP - SQL Injection
https://www.owasp.org/index.php/SQL_Injection
漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection
漏洞說明: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
https://cwe.mitre.org/data/definitions/89.html
防護方式: OWASP - SQL Injection Prevention Cheat Sheet
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet
攻擊者可經由該漏洞竊取使用者身份,或進行掛碼、轉址等攻擊行為。
漏洞說明: OWASP - Cross-site Scripting (XSS)
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
防護原則: OWASP - XSS (Cross Site Scripting) Prevention Cheat Sheet
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
防禦繞過方式: OWASP - XSS Filter Evasion Cheat Sheet
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
攻擊者可利用洩漏資訊進行下一步攻擊行為。
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