Question
Which of the following is a characteristic of Cross-Site
Request Forgery (CSRF) attacks?Solution
Cross-Site Request Forgery (CSRF) exploits the trust a website has in a user’s browser. An attacker tricks an authenticated user into performing unintended actions, such as transferring money or changing account details, without their consent. For instance, a malicious email link might force a logged-in bank user to transfer money to the attacker’s account.
- Key Condition: The victim must be logged in, as CSRF exploits authenticated sessions.
- Impact: CSRF can lead to unauthorized transactions, changes in user settings, and other unintended operations.
- Prevention: Developers can use anti-CSRF tokens, verify the HTTP Referrer header, and require user re-authentication for sensitive actions.
- Browser vulnerabilities: CSRF exploits user actions and session trust, not browser vulnerabilities.
- SQL commands: This describes SQL Injection, not CSRF.
- Flooding servers: This characterizes DDoS attacks, unrelated to session misuse.
- Script injection: Script injection is XSS, not CSRF.
If a line has direction ratios 2, -1, -2, determine its direction cosines.
- Which type of memory requires frequent refreshing to retain data?
In the question, two equations I and II are given. You have to solve both the equations to establish the correct relation between x and y and choose the...
A circle with radius 5 units is inscribed in a square. What is the area of the square?
A cube of volume 768 cm³ is molded into a cuboid whose length, width, and height are in the ratio 2: 2: 3. Find the length of the cuboid.
A sum of money doubles itself in 5 years at simple interest. In how many years will it become 5 times itself at the same rate of interest?
- Which numbering system consists of digits 0-9 and letters A-F?
A sum of money becomes ₹7800 after 3 years and ₹8500 after 4 years at simple interest. What is the principal amount?
A trader cheats by using a weighing scale that shows 1 kg while actually giving only 900 grams. He also marks up the goods by 25% and then gives a 10% d...
A shopkeeper priced an article at 75% above its cost price and offered a 30% discount on it during the sale. Alternatively, if he had applied two consec...