Test Authorization header size
To test for a potential heap overflow vulnerability, send a GET request to a target's OAuth endpoint, such as /f5-oauth2/v1/userinfo, with an Authorization header larger than 0x4100 bytes. If the target is vulnerable, it may crash or exhibit unexpected behavior, indicating a potential security issue. Look for error messages or crashes in the target's response to confirm the vulnerability. The request should be sent to the target's Host header, such as bigip, with a large Authorization header, for example Authorization: Bearer AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
GET /f5-oauth2/v1/userinfo HTTP/1.1
Host: bigip
Authorization: Bearer AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
Connection: closeFollow #f5-big-ip, #heap-overflow or #rce for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.