Submit #895141: jofpin trape latest (main/master branch) CWE-306info

Titlejofpin trape latest (main/master branch) CWE-306
DescriptionThe 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.
Source⚠️ https://github.com/jofpin/trape/issues/405
User
 GalaxynX (UID 98977)
Submission07/18/2026 21:29 (2 months ago)
Moderation09/04/2026 14:21 (2 months later)
StatusDuplicate
VulDB entry398784 [jofpin trape 1.0.0 Login Endpoint core/stats.py missing authentication]
Points0

Want to stay up to date on a daily basis?

Enable the mail alert feature now!