16 years of CVE-2008-0166 – Debian OpenSSL Bug
16years.secvuln.info
16years.secvuln.info
https://news.ycombinator.com/item?id=40320166
To soon?
(Note I run Debian all over the place, and am generally happy with it.)
> The security team at Seznam - a Czech search engine and email provider - did not believe me when I reported this issue. They assume that as they are not actively using that key (beta._domainkey.seznam.cz), that means that it cannot be used to forge emails. This is, of course, not true.
Maybe consult a lawyer first, but the entertaining answer would surely be to tell them about the problem in an email from their own domain? (Though seriously, double-check that that's not illegal; funny isn't worth getting arrested.)
That being said, a company which is that lax with reported vulnerabilities is not likely to handle "fun" well and even if what you are doing is legal, being involved in a lawsuit is no fun and probably not worth it, since, in the end, you are trying to help them.
Has this actually ever happened or been solicited? That’s an interesting thought experiment.
https://en.wikipedia.org/wiki/Calling_card_(crime)
Cool story! I'm glad you got the job! Anything else about your sleuthing you'd care to add? I'm intrigued.
You could maybe even skip the mailing step and just watch the registered address and trace the movements of everyone who visits that location.
Do you have any other methods you can think of?
Also forwarding agencies probably don’t visit the clients locations often.
How do you configure DMARC to require both of DKIM and SPF?
The RFC says:
https://datatracker.ietf.org/doc/html/rfc7489#section-4.2
A message satisfies the DMARC checks if at least one of the supported
authentication mechanisms:
1. produces a "pass" result, and
2. produces that result based on an identifier that is in alignment,
as defined in Section 3.This is exactly what DMARC prevents. With DMARC the alignment requirement is added, so signing an email with a different domain key will no longer work.
For a DMARC pass you need DKIM alignment. DKIM alignment means that the email is correctly signed with a DKIM key that is published under the sender (rfc5322.From) domain.
Saying DKIM is flawed because you can create rogue keys with DNS access is the same as saying the entire PKI is flawed because you can order certificates using DNS-01 verification.
I simply said, twice, that DMARC forcing both SPF and DKIM to align and pass doesn't add anything of value; if you are capable of subverting one of them, you are almost certainly capable of subverting both of them at the same time.
SPF should be considered legacy at this point. But of course DMARC had to be designed with backwards compatibility in mind, thus it'll still consider the email to be DMARC alignment with just SPF alignment (without DKIM alignment). Also, understand that 'alignment' is different from a 'pass', so it's not as bad as many commenters here make it look.
There are proposals of adding a flag to the DMARC policy to have the receiver ignore SPF alignment, thus enforcing DKIM alignment. However, that is not final yet.
I reported the issue and the admins weren't impressed. They insisted that this wasn't a major problem since the only way to make the e-mail appear to come from somebody in the company was to use you company account (outside e-mail would be filtered correctly). After some back and forth, I just told the admin to check his mailbox. It said something like, "if you don't think this is serious, you're fired" and it was "from" the CEO, with his smiling photo next to the name.
That finally did the trick.
EDIT: typos.
Which library pulled the vulnerability in is mostly irrelevant.
And that was what happened with systemd.
But no. Newer versions of systemd have issues, and this was what systemd pushed. Just why do you think all these distros had the sane patch? For fun?
Arch would have ended up with it eventually. It wasn't Arch being prescient, Arch wasn't using the same systend version as Debian Unstable, and other distros bleeding edge branches.
How many people double check that apt actually updated the package to the right version, if it’s output is compromised?
The xz package was potentially vulnerable (although not in reality because "the build script was configured to only inject the bad code in Debian/Fedora based package build environments", while this was a choice by the attacker, it's still true the vulnerability wasn't there), but patching OpenSSH made OpenSSH specifically vulnerable when used with a malicious xz install.
https://archlinux.org/news/the-xz-package-has-been-backdoore...
This is such a weird formulation though, because "other distributions" apparently included insignificant parts of the linux landscape like Fedora (i.e. the testing variant of the RedHat world) and SUSE.
And if the three largest upstream distris in the linux world have this mistake, calling that "Well some distris, but screw mostly Debian" doesn't sound like a strong point.
I'm curious about Arch's claim that "the build script was configured to only inject the bad code in Debian/Fedora based package build environments". Were Debian and Fedora specifically targetted, and the other distros who also got affected just happened to use similar packaging routines, or is this claim a guess?
And some distros IIRC considered themselves "affected" if they ever used a malicious version of the code, just in case, even if the backdoor didn't actually get compiled in to their version.
It's true that Red Hat now owns Fedora, but the adoption went the other way around.
This one was special because it lead to a massive security issue, rather than just annoyed users who had bugs only because of packaging patches.
If you do a little digging, you'll see that there was no real technical reason why your distro of choice has abandoned implementing LibreSSL[2][3], or just never implemented it at all[4]. They just somehow wanted to keep using the faulty software with exploit mitigation countermeasures[5][6]. Totally organic.
1. https://flak.tedunangst.com/post/analysis-of-openssl-freelis...
2. https://wiki.gentoo.org/wiki/LibreSSL
3. https://github.com/void-linux/void-packages/issues/20935
4. https://lwn.net/Articles/841664/
That is OK, but I heard there were lots of security issues with pips too. From one issue to maybe another ?
If you are worried, I would just recreate your keys.
https://SLSA.dev/ recommends TUF and Sigstore.dev and trusted containers for build-signing.
Someday, Twine should prompt a PyPI package uploader to sign the package before uploading it, and download it to (prime the CDN cache and) check the Publisher and Package repo signature(s) at least once.
PEP 740 does the rest of what you’ve described, however. And twine already has initial support for it, although it isn’t part of a release yet.
> If the complexity of using BIMI exceeds your desire, you must at a minimum provide for one BIMI DNS TXT record that tells everyone that your BIMI is “disabled” … just to prevent others from impersonating you.
> The TXT record for a properly disabled BIMI must look like this:
default._bimi.example.test. TXT "v=BIMI1; l=; a=;"
While, I have said it is expensive and not recommended, it is there for those trying to understand BIMI.Also how to breakdown BIMI certificates too
Is it broken? no? then don't fix it! I find it super hard to believe this wasn't the very first supply chain attack discovery. (If anyone knows of a verified early one, I'd love to be corrected!)
They did have a reason; they were running analysis on the code, and one of their tools specifically called openssl out for using uninitialized memory, which is absolutely a red flag. But not to worry; rather than blindly patching it to fix the bug, they went out of their way to go ask upstream about it, appeared to get a favorable response to their patch, and then went ahead.
comments here read differently.