nerdexam
CompTIA

PT0-002 · Question #611

Based on the information in a report from a web application scanner, a website is susceptible to clickjacking. Which of the following techniques would be best to use to prove this exploit?

The correct answer is C. Launching the website in an inline frame (iframe). Clickjacking involves tricking a user into clicking something different from what they perceive, often by overlaying a malicious frame over legitimate content.

Attacks and Exploits

Question

Based on the information in a report from a web application scanner, a website is susceptible to clickjacking. Which of the following techniques would be best to use to prove this exploit?

Options

  • ACapturing and replaying a session ID
  • BRedirecting the user with a CSRF
  • CLaunching the website in an inline frame (iframe)
  • DPulling server headers

How the community answered

(52 responses)
  • A
    6% (3)
  • B
    13% (7)
  • C
    77% (40)
  • D
    4% (2)

Why each option

Clickjacking involves tricking a user into clicking something different from what they perceive, often by overlaying a malicious frame over legitimate content.

ACapturing and replaying a session ID

Capturing and replaying a session ID is related to session hijacking, not clickjacking.

BRedirecting the user with a CSRF

Redirecting the user with a CSRF (Cross-Site Request Forgery) is a different type of attack where an attacker tricks a user's browser into making an unwanted request to a trusted site, without direct interaction with the targeted UI.

CLaunching the website in an inline frame (iframe)Correct

Launching the website in an inline frame (iframe) is the primary method to demonstrate clickjacking. An attacker can embed a vulnerable website within an iframe on a malicious page and then layer transparent elements or other UI elements over it to trick users into interacting with the embedded site. This technique directly exploits how browsers handle framed content, allowing the attacker to manipulate user input on the victim site.

DPulling server headers

Pulling server headers might reveal security configurations like X-Frame-Options, but it doesn't prove the exploit; it only indicates potential susceptibility or mitigation.

Concept tested: Clickjacking exploitation techniques, iframes

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

Topics

#Clickjacking#Web application exploits#Proof of concept#Vulnerability validation

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice