Pentest Chronicles
The below screenshot confirms the vulnerability existence:
During the tests it was found out that one of application’s pages contains a session cookie in HTTP response body:
As mentioned before, such behavior can be leveraged to steal a session cookie even if httpOnly flag is in place.
Below there is a full link which can be directly passed to the victim in order to execute the attack:
Opening the link in a victim’s browser triggers 3 steps which leads to retrieving the cookie on the attacker-controlled server:
As demonstrated above, even when using the httpOnly flag, a web application can still be vulnerable to cookie stealing if there is a single point of failure. Based on that make sure that application never reveals session cookies in server’s responses.
In today's world, ensuring the security of our accounts is more crucial than ever. Just as keys protect the doors to our homes, passwords serve as the first line of defense for our data and assets. It's easy to assume that technical individuals, such as developers and IT professionals, always use strong, unique passwords to keep ...
SOCMINT is the process of gathering and analyzing the information collected from various social networks, channels and communication groups in order to track down an object, gather as much partial data as possible, and potentially to understand its operation. All this in order to analyze the collected information and to achieve that goal by making …
PyScript – or rather Python in your browser + what can be done with it? A few days ago, the Anaconda project announced the PyScript framework, which allows Python code to be executed directly in the browser. Additionally, it also covers its integration with HTML and JS code. An execution of the Python code in …