It Is My Birthday (100)

MD5 collisions

Problem

I sent out 2 invitations to all of my friends for my birthday! I'll know if they get stolen because the two invites look similar, and they even have the same md5 hash, but they are slightly different! You wouldn't believe how long it took me to find a collision. Anyway, see if you're invited by submitting 2 PDFs to my website.

Solution

It is now trivial to generate an MD5 collision of two images / PDF files.

Take any two PDFs of different contents, we can make them have the same MD5 hash.

BTW, there is a size limit so choose small PDFs.

These are the PDFs I generated. Note that they have different content, yet the same MD5.

15KB
Open
15KB
Open

After we've generated the two colliding PDFs, uploading them to the challenge page unlocks the flag and source code.

References

Last updated

Was this helpful?