Which of the following is an attack in which the end user executes unwanted actions on a web application while he is currently authenticated?

Which of the following is an attack in which the end user executes unwanted actions on a web application while he is currently authenticated?




a. Buffer overflow
b. Input validation error
c. Cross-site scripting
d. Cross-site request forgery




Answer: D

Cross-site request forgery (XSRF) is an attack in which the end user executes unwanted actions on a web application while he is currently authenticated. Answer A is incorrect because a buffer overflow is a direct result of poor or incorrect input validation or mishandled exceptions. Answer B is incorrect because input validation errors are a result of improper field checking in the code. Answer C is incorrect because Cross-Site Scripting (XSS) vulnerabilities can be used to hijack the user's session or to cause the user accessing malware-tainted Site A to unknowingly attack Site B on behalf of the attacker who planted code on Site A.


Learn More :

Threats and Vulnerabilities

Learn More Multiple Choice Question :