Username Hash Leak via WebSocket

Anandhu Krishnan
Published on
14 May 2024


A potential security issue has been identified where sensitive information, specifically an example hash of {Example context: Example}, was discovered within incoming WebSocket messages. This may suggest that the application is susceptible to an Insecure Direct Object Reference (IDOR) vulnerability. Further manual testing will be necessary to determine whether this discovery can be exploited.


To mitigate this risk, it’s recommended to utilize per-user or session indirect object references. Alternatively, ensure each direct object reference is tied to a robust authorization check to guarantee the user is authorized for the requested object.

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu Krishnan
Anandhu Krishnan
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment