medium
Single Answer
0

Which of the following is an attack that seeks to attack a website, based on the website's trust of an authenticated user?

Answer Options

A

XSS

B

XSRF

C

Buffer overflow

D

Directory traversal

Correct Answer: B

Explanation

Cross-site request forgery (XSRF or CSRF) sends forged requests to a website, supposedly from a trusted user. Cross-site scripting (XSS) is the injection of scripts into a website to exploit the users. A buffer overflow tries to put more data in a variable than the variable can hold. Directory traversal attempts to change directories through URL manipulation to access files that should not normally be accessible to the web server or application.