IMDSv2
The second version of the instance metadata service provided by AWS, which enhances the security of access to the metadata endpoint by requiring the use of session tokens, thereby preventing SSRF attacks.
Timeline (last 90 days)
For sandbox solutions, access to link-local addresses and metadata domains should be restricted by default, or protected through mandatory token mechanisms such as IMDSv2.
IMDSv2 requires first obtaining a token via a PUT request and then carrying the token when accessing metadata, which can block most SSRF at the protocol level, but cannot replace network-layer blocking.
AWS's IMDSv2 requires requests to carry a token obtained via PUT and limits the hop count, thereby significantly increasing the difficulty of SSRF exploitation.
All Facts (3)
For sandbox solutions, access to link-local addresses and metadata domains should be restricted by default, or protected through mandatory token mechanisms such as IMDSv2.
50%UnverifiedIMDSv2 requires first obtaining a token via a PUT request and then carrying the token when accessing metadata, which can block most SSRF at the protocol level, but cannot replace network-layer blocking.
50%UnverifiedAWS's IMDSv2 requires requests to carry a token obtained via PUT and limits the hop count, thereby significantly increasing the difficulty of SSRF exploitation.
50%