nerdexam
CompTIA

SY0-501 · Question #313

Which of the following techniques can be bypass a user or computer's web browser privacy settings? (Select Two)

The correct answer is B. Session hijacking C. Cross-site scripting. Certain web attack techniques can circumvent browser privacy settings by hijacking authenticated sessions or injecting malicious scripts that execute within the browser's trusted context.

Submitted by packet_pusher· Mar 4, 2026Threats, vulnerabilities, and mitigations

Question

Which of the following techniques can be bypass a user or computer's web browser privacy settings? (Select Two)

Options

  • ASQL injection
  • BSession hijacking
  • CCross-site scripting
  • DLocally shared objects
  • ELDAP injection

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    78% (25)
  • D
    13% (4)
  • E
    3% (1)

Why each option

Certain web attack techniques can circumvent browser privacy settings by hijacking authenticated sessions or injecting malicious scripts that execute within the browser's trusted context.

ASQL injection

SQL injection targets back-end database servers by manipulating SQL queries and does not interact with or bypass the web browser's privacy settings.

BSession hijackingCorrect

Session hijacking involves stealing or forging a valid session token, allowing an attacker to impersonate an authenticated user and bypass privacy controls such as cookie restrictions or access controls enforced by the browser, since the attacker's requests appear to originate from a legitimate, trusted session. This technique directly undermines privacy settings because it exploits the trust relationship between the browser and web server.

CCross-site scriptingCorrect

Cross-site scripting (XSS) injects malicious scripts into trusted web pages that execute within the victim's browser in the context of the vulnerable site, allowing the attacker to read cookies, session tokens, and other data that the browser's privacy settings would otherwise protect. Because the script runs as if it were legitimate site content, same-origin and privacy policies do not block it.

DLocally shared objects

Locally Shared Objects (Flash cookies) are a privacy concern in their own right but are a storage mechanism, not an active attack technique used to bypass browser privacy settings in the context of this question.

ELDAP injection

LDAP injection manipulates LDAP directory service queries on the server side and has no direct interaction with a user's web browser privacy settings.

Concept tested: Web attack techniques bypassing browser privacy controls

Source: https://owasp.org/www-community/attacks/Session_hijacking_attack

Topics

#session hijacking#cross-site scripting#browser security#web attacks

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice