| 标题 | jofpin trape latest (main/master branch) CWE-306 |
|---|
| 描述 | The application relies on a single access key (stats_key) to protect the admin dashboard. However, the login route (/login) merely verifies the key and returns a randomly generated URL path (home_path) for the client-side to redirect to. It does not establish an authenticated session (like a Flask session cookie or token). All sensitive admin API endpoints used to fetch or manipulate tracked victim data (e.g., /get_data, /get_preview, /get_requests, /pn) have no backend authorization checks. Because these endpoints are hardcoded and unauthenticated, anyone can interact with them directly, bypassing the intended admin access controls. Exploitation: Attacker sends POST request directly to /get_data - extracts all sensitive tracking data (IP addresses, geolocation, user agents). Attacker can also tamper with victim records using /pn. |
|---|
| 来源 | ⚠️ https://github.com/jofpin/trape/issues/405 |
|---|
| 用户 | GalaxynX (UID 98977) |
|---|
| 提交 | 2026-07-18 21時29分 (2 月前) |
|---|
| 管理 | 2026-09-04 14時21分 (2 months later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 398784 [jofpin trape 1.0.0 Login Endpoint core/stats.py 弱身份验证] |
|---|
| 积分 | 0 |
|---|