Broken Authentication
Intro Broken Authentication
這篇介紹Broken Authentication,它是一個資訊安全滲透測試的issue。
Case Study
1 | API未對用戶端傳送之HTTP Header進行過濾,導致hacker可藉由竄改HTTP Header |
攻擊手法
1 | 在HTTP request新增 X-Forwarded-For:127.0.0.1 Header,即可繞過IP限制登入系統。 |
Solution
1 | 在檢查IP時,針對IPv4 Private IP Address限制存取。 |