EXERCISE 3 — Classify each request: easily forgeable cross-site?
================================================================
(a) GET /search?q=x via an tag
EASILY FORGEABLE: YES.
An
issues a credentialed GET from
ANY page, no script or form needed, no preflight. The browser attaches
the target's cookies. (Harmless here because search is read-only/safe --
but if a GET CHANGED state, this tag would trigger it. That's why GET
must be safe.)
(b) Form POST with application/x-www-form-urlencoded
EASILY FORGEABLE: YES.
This is a "simple request": method POST + a simple content type that an
HTML