🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Broken Access Control: all 10 questions

Quiz: Broken Access Control · Question 10 of 10

A "fetch image from URL" feature can be abused to reach internal services. What is the main defence?

A "fetch image from URL" feature can be abused to reach internal services. What is the main defence?

  1. A.Allow any URL but add a timeout
  2. B.Allow-list destinations and block private and internal addresses after resolving the host
  3. C.Use POST instead of GET
  4. D.Hide the feature in the UI
Answer & explanation

Correct answer: Allow-list destinations and block private and internal addresses after resolving the host

SSRF makes your server request places the attacker cannot reach directly.

Can you get the rest right without peeking?

Take the timed Quiz: Broken Access Control quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →