Insecure Session Storage

Insecure Session Storage refers to the unsafe use of session storage in web development, where sensitive data is stored without proper security measures. This can lead to vulnerabilities such as cross-site scripting and unauthorized access to confidential information.

Example

In a fictional scenario, an attacker named Eve exploits an online banking application's insecure use of ‘sessionStorage’ to conduct a session hijacking attack. Discovering the vulnerability, Eve injects a script that captures users' session tokens and sends them to her server. When a user like Alice logs in, Eve intercepts the session token, allowing her unauthorized access to the victim's account. In this case, Eve impersonates Alice, initiates unauthorized transactions, and causes financial harm.

Cards

Authentication

Github logo View source on GitHub

Loading comments 0%

Provided by dotNET lab

This website is created, hosted and provided by dotNET lab. dotNET lab provides training and guidance on secure software development. Contact us to get in touch!

OWASP Cornucopia

OWASP Cornucopia is originally created by Colin Watson. It is open source and can be downloaded free of charge from the OWASP website. It is is free to use. It is licensed under the Creative Commons Attribution-ShareAlike 3.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. OWASP does not endorse or recommend commercial products or services. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license and is © 2012-2016 OWASP Foundation.