nerdexam
EC-Council

312-50V9 · Question #306

Scenario: 1. Victim opens the attacker's web site. 2. Attacker sets up a web site which contains interesting and attractive content like 'Do you want to make $1000 in a day?'. 3. Victim clicks to…

The correct answer is D. ClickJacking Attack. Clickjacking overlays a transparent iframe on visible content to trick users into clicking on hidden elements without their knowledge.

Hacking Web Applications

Question

Scenario: 1. Victim opens the attacker's web site. 2. Attacker sets up a web site which contains interesting and attractive content like 'Do you want to make $1000 in a day?'. 3. Victim clicks to the interesting and attractive content url. 4. Attacker creates a transparent 'iframe' in front of the url which victim attempt to click, so victim thinks that he/she clicks to the 'Do you want to make $1000 in a day?' url but actually he/she clicks to the content or url that exists in the transparent 'iframe' which is setup by the attacker. What is the name of the attack which is mentioned in the scenario?

Options

  • AHTTP Parameter Pollution
  • BHTML Injection
  • CSession Fixation
  • DClickJacking Attack

How the community answered

(27 responses)
  • B
    4% (1)
  • C
    4% (1)
  • D
    93% (25)

Why each option

Clickjacking overlays a transparent iframe on visible content to trick users into clicking on hidden elements without their knowledge.

AHTTP Parameter Pollution

HTTP Parameter Pollution injects duplicate or unexpected HTTP parameters into requests to manipulate application logic, and does not involve iframe overlays or visual deception.

BHTML Injection

HTML Injection inserts unsanitized HTML markup into a vulnerable web page to alter its appearance or behavior, which is distinct from the transparent iframe overlay technique described.

CSession Fixation

Session Fixation forces a victim to authenticate using a session ID already known to the attacker to enable session hijacking, and does not involve invisible iframes or click redirection.

DClickJacking AttackCorrect

Clickjacking (also called a UI redress attack) works by placing an invisible or transparent iframe containing the attacker's target content directly over a legitimate-looking page element. When the victim clicks what appears to be the visible content, they are actually interacting with the hidden iframe, potentially triggering unintended actions such as form submissions, purchases, or permission grants. The standard mitigation is using the X-Frame-Options or Content-Security-Policy HTTP response headers.

Concept tested: Clickjacking UI redress attack using transparent iframes

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

Topics

#clickjacking#iframe#UI redressing#web attack

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice