nerdexam
EC-Council

312-39 · Question #152

An attacker, in an attempt to exploit the vulnerability in the dynamically generated welcome page, inserted code at the end of the company's URL as follows: error");</script>. Identify the attack…

The correct answer is A. Cross-site Scripting Attack. The attack demonstrated in the scenario is a Cross-site Scripting (XSS) attack. This is evident from the attacker’s action of inserting a <script> tag into the URL, which is a common technique used in XSS attacks to execute malicious scripts in the context of the victim’s…

Security Incident Detection

Question

An attacker, in an attempt to exploit the vulnerability in the dynamically generated welcome page, inserted code at the end of the company’s URL as follows:

error");</script>. Identify the attack demonstrated in the above scenario.

Options

  • ACross-site Scripting Attack
  • BSQL Injection Attack
  • CDenial-of-Service Attack
  • DSession Attack

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    4% (1)
  • C
    15% (4)
  • D
    8% (2)

Explanation

The attack demonstrated in the scenario is a Cross-site Scripting (XSS) attack. This is evident from the attacker’s action of inserting a <script> tag into the URL, which is a common technique used in XSS attacks to execute malicious scripts in the context of the victim’s browser. The script in the URL is designed to display an alert box with a warning message, which is a typical behavior of XSS to show that the attacker can execute JavaScript in the user’s browser session. materials and study guides, which cover various types of cyber attacks, including XSS, and their characteristics.

Topics

#XSS attack#cross-site scripting#web application attacks#URL injection

Community Discussion

No community discussion yet for this question.

Full 312-39 Practice