Try Pausing HTTP/2 Uploads

Remote code execution (RCE)Exploitation

Written with a model's help from “A UAF turned RCE” on Daniel Stenberg. Read the writeup before relying on it.

When sending data to target.com over HTTP/2 using a tool like curl, attempt to pause the upload by limiting the amount of data that can be sent, then resume the upload after receiving part of the response. This can cause issues if the client incorrectly handles the paused upload, potentially leading to crashes or unexpected behavior. To test this, try uploading data to target.com and then pausing the upload by setting the HTTP/2 window size to zero, then send a response from target.com and reset the stream. If the client leaves a pointer to the previously used memory, it may be possible to execute code remotely. Look for crashes or unexpected behavior in the client when uploading data from attacker.example to target.com.

Follow #curl, #http2 or #use-after-free for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.