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.
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)- A6% (3)
- B13% (7)
- C77% (40)
- D4% (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.
Capturing and replaying a session ID is related to session hijacking, not clickjacking.
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.
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.
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
Community Discussion
No community discussion yet for this question.