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

Titlejofpin trape latest (main/master branch) CWE-306
DescriptionThe victim deletion endpoint removes all records (victim, geo, networks) for any given vId without verifying the caller is the authenticated operator. The remove_path is a randomly generated token (14 chars) that provides minor obfuscation but is not a substitute for authorization. Once the path is known or guessed, any client can delete any or all tracked victims, destroying the operator's collected data. Exploitation: An attacker sends POST /<remove_path> with body vId=target_victim_id. The victim's entire record set is permanently deleted. By enumerating vId values (which are short 5-char tokens generated by utils.generateToken(5)), the attacker can wipe the entire database of tracked victims.
Source⚠️ https://github.com/jofpin/trape/issues/405
User
 GalaxynX (UID 98977)
Submission07/18/2026 21:27 (2 months ago)
Moderation09/04/2026 14:19 (2 months later)
StatusAccepted
VulDB entry398786 [jofpin trape 2.0 core/user.py vId/id authorization]
Points20

Do you know our Splunk app?

Download it now for free!