312-50V11 · Question #701
A company's security policy states that all Web browsers must automatically delete their HTTP browser cookies upon terminating. What sort of security breach is this policy attempting to mitigate?
The correct answer is B. Attempts by attackers to access Web sites that trust the Web browser user by stealing the user's. Deleting cookies when the browser closes prevents session hijacking by removing stored authentication tokens that attackers could steal and reuse.
Question
A company's security policy states that all Web browsers must automatically delete their HTTP browser cookies upon terminating. What sort of security breach is this policy attempting to mitigate?
Options
- AAttempts by attackers to access the user and password information stored in the company's SQL
- BAttempts by attackers to access Web sites that trust the Web browser user by stealing the user's
- CAttempts by attackers to access password stored on the user's computer without the user's
- DAttempts by attackers to determine the user's Web browser usage patterns, including when sites
How the community answered
(33 responses)- A15% (5)
- B70% (23)
- C9% (3)
- D6% (2)
Why each option
Deleting cookies when the browser closes prevents session hijacking by removing stored authentication tokens that attackers could steal and reuse.
SQL credential attacks exploit server-side injection vulnerabilities in database queries and are not related to client-side browser cookie storage or deletion.
HTTP session cookies typically contain session tokens that websites use to recognize an already-authenticated user; if an attacker steals these cookies via cross-site scripting, network interception, or physical access to the machine, they can replay them to impersonate the user on any trusting site. Deleting cookies at browser termination eliminates persistent session tokens, ensuring that a stolen cookie from a closed session cannot be used to gain unauthorized access to sites that trust that browser session.
Locally stored passwords are protected by operating system access controls and credential vault mechanisms, not by browser cookie lifecycle policies.
While cookies can be used for behavioral tracking, the security policy specifically targets session token persistence, making session hijacking the primary threat being mitigated rather than browsing pattern surveillance.
Concept tested: HTTP session cookie deletion to prevent session hijacking
Source: https://owasp.org/www-community/attacks/Session_hijacking_attack
Topics
Community Discussion
No community discussion yet for this question.