Official Top 10 selection
Exploiting Null Byte Buffer Overflow for a $40,000 bounty
Filling in the Blanks: Exploiting Null Byte Buffer Overflow for a $40,000 Bounty
A registration form passed a user string and its length to a back-end C routine; null bytes were stripped in transit but the length was not, so the C side read past the shortened string. Repeating a POST full of %00 bytes returned megabytes of adjacent server memory, including RSA private keys, other users' page DOMs, plaintext credentials and internal HTTP requests.
Preserved copies · Sam Curry and @samwcyo · Original publication ↗
Record
- Document
- Filling in the Blanks: Exploiting Null Byte Buffer Overflow for a $40,000 Bounty
- Researcher
- Sam Curry and @samwcyo
- Published by
- samcurry.net
- Date
- Topic
- Other
In the archive
- Ranked #10 in the 2019 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of Sam Curry and @samwcyo, first published at the original source. Preserved copies are kept so the citation survives its host.