Check ETag length for leaks
When testing for XS-Leaks, compare the ETag header length in responses where a search query hits and misses a target resource. A difference in length can indicate a leak. This can occur when the response size crosses a boundary, such as from 0xfff to 0x1000, changing the number of hex digits in the ETag value. To exploit this, try manipulating the response size by adding or removing resources, such as creating multiple notes in a victim's session using CSRF. A 1-byte difference in the ETag length can be used as an oracle to infer sensitive information.
Follow #etag or #xs-leak for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.