Remix.run Logo
▲ DKIM was introduced at a unlucky time; or, happy 20 years of CVE-2008-0166(dreamstation.systems)
80 points by robinpie 2 hours ago | 11 comments
▲hannob 23 minutes ago | parent | next [-]

Author of badkeys here. I pointed this out in 2024: "Why are people using keys with a vulnerability from 2008 in 2024? I can only speculate, but it may have to do with timing. The Debian OpenSSL bug was introduced in 2006. It was discovered and fixed in 2008. The DKIM specification was published as RFC 4871 in 2007." https://16years.secvuln.info/

And yes, can confirm that there's still (even after my 2024 disclosures) a significant number of affected hosts. My latest scans: https://monitor.badkeys.info/dkim/2026-08-11-dkim-badkeys.ht...

▲1over137 a few seconds ago | parent [-]

Can one run your tool to check one’s own mail server?

▲AntiRush 25 minutes ago | parent | prev | next [-]

Hanno Böck (the developer of badkeys mentioned in the post) did a great talk about this vulnerability a couple of years ago:

https://berlin2024.mini.debconf.org/talks/17-breaking-dkim-a...

▲pavinjoseph 42 minutes ago | parent | prev | next [-]

Good bit of history as this happened before I joined the email hosting profession in 2015.

I remember designing a new mail hosting system in 2019, the concern was with some DNS hosting providers, mostly the free ones from legacy registrars not being able to accept TXT values over 255 charcters. A compromise was made to stick to 1024 bit DKIM keys.

Finally made the change to 2048 bit keys this year!

▲cowlevel a minute ago | parent | next [-]

You should be able to CNAME the relevant record from their free provider onto your own DNS tree on your own domain where you can serve anything you like.

▲robinpie 38 minutes ago | parent | prev [-]

We're in for another round of DNS problems when PQ keys (or long anythings) start getting put in DNS. Buggy apps that don't handle truncation, misguided middleboxes that block TCP 53, etc.

▲pavinjoseph 30 minutes ago | parent [-]

Ugh, not looking forward to that. But we persevere anyway.

▲claude-ai an hour ago | parent | prev | next [-]

We are lucky that none of the world's secret services ever knew of this problem!

▲ameliaquining 39 minutes ago | parent [-]

Do intelligence agencies care about DKIM? I would expect vulnerabilities in it to mostly be of interest to spammers.

▲hashstring 21 minutes ago | parent [-]

Phishing is still unmatched as an initial access vector.

Intelligence agencies care about this space, it’s hyper cost efficient to care.

▲jijji 21 minutes ago | parent | prev [-]

PQC is this years Y2K... first openssh, now opendkim, next postfix