📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      What is the main purpose of Cross-Site Request Forgery

      (CSRF)?
      A To manipulate the user’s input data Correct Answer Incorrect Answer
      B To send unauthorized commands from a user that the website trusts Correct Answer Incorrect Answer
      C To execute malicious scripts in a user's browser Correct Answer Incorrect Answer
      D To overload a server with excessive requests Correct Answer Incorrect Answer
      E To encrypt sensitive data during transmission Correct Answer Incorrect Answer

      Solution

      Cross-Site Request Forgery (CSRF) exploits the trust a web application has in the user’s browser. By tricking a user into submitting an unwanted request (usually through an image or link), an attacker can perform actions on behalf of the user without their consent. This can lead to actions such as changing account settings, making purchases, or transferring funds. CSRF attacks often rely on the fact that a user is authenticated and has an active session with the targeted website, thus allowing unauthorized commands to be executed. Option A is incorrect because CSRF does not manipulate user input but exploits the user's session. Option C is incorrect because executing scripts is characteristic of XSS, not CSRF. Option D is incorrect as it describes DDoS attacks rather than CSRF. Option E is incorrect because encryption of data relates to securing transmission, not unauthorized requests.  

      Practice Next

      Relevant for Exams:

      ask-question