There is much that could be done to improve this announcement: 1- What does "encrypted, salted passwords" mean? MD5 with a static salt? Holy shit, that's a problem. bcrypt? Less so. I have no context to know how concerned I should be, or any indication of how incompetent, or awesome, Mozilla's existing processes and defenses are. Fail. 2- They talk about a "data sanitization process" failing, but then talk about a "d…
Sha256+salt. See https://github.com/mozilla/kuma We are still working on the rest.
MDN Database Disclosure
11–20 of 50 posts
Re: MDN Database Disclosure
#12Can someone explain the meaning of "data sanitization process of the site database had been failing" Isn't that another way of saying SQL injection ?
I wondered about this too. At a guess, perhaps they were doing a straight database dump from a production system which had sensitive information as well as public data. They would then run a script to delete the sensitive columns before posting the dump. This seems likely to have been broken at the design stage: systems should fail safe. The first-order fix might be to check the return value of the sanitizer script a…
Does anyone know why Mozilla was posting database dumps(sanitized or otherwise) onto public servers?
Re: MDN Database Disclosure
#13Re: MDN Database Disclosure
#14Earlier quoted context omitted.
I wondered about this too. At a guess, perhaps they were doing a straight database dump from a production system which had sensitive information as well as public data. They would then run a script to delete the sensitive columns before posting the dump. This seems likely to have been broken at the design stage: systems should fail safe. The first-order fix might be to check the return value of the sanitizer script a…
Yep, naive bash scripts don't stop on failure and your non-sanitized file will happily get uploaded. Does anyone know why Mozilla was posting database dumps(sanitized or otherwise) onto public servers?
Re: MDN Database Disclosure
#15Earlier quoted context omitted.
Sha256+salt. See https://github.com/mozilla/kuma We are still working on the rest.
Why did you decide to use sha256 instead of a kdf like bcrypt or pbkdf2? I'm not attacking you, genuinely curious.
current standards for sites not using persona are here: https://wiki.mozilla.org/WebAppSec/Secure_Coding_Guidelines
Re: MDN Database Disclosure
#16There is much that could be done to improve this announcement: 1- What does "encrypted, salted passwords" mean? MD5 with a static salt? Holy shit, that's a problem. bcrypt? Less so. I have no context to know how concerned I should be, or any indication of how incompetent, or awesome, Mozilla's existing processes and defenses are. Fail. 2- They talk about a "data sanitization process" failing, but then talk about a "d…
MDN has been using persona for a while now, meaning that most accounts don't have passwords in the database. But older accounts still had the SHA256 salted hash that Django creates.
We traced back as much as we could. Access logs, netflow data, etc... We found that the tar.gz containing the DB dump had been downloaded only a small number of times. Mostly by known contributors. But we can't rule out that someone with malicious intentions got access to it.
Re: MDN Database Disclosure
#17Earlier quoted context omitted.
I wondered about this too. At a guess, perhaps they were doing a straight database dump from a production system which had sensitive information as well as public data. They would then run a script to delete the sensitive columns before posting the dump. This seems likely to have been broken at the design stage: systems should fail safe. The first-order fix might be to check the return value of the sanitizer script a…
Yep, naive bash scripts don't stop on failure and your non-sanitized file will happily get uploaded. Does anyone know why Mozilla was posting database dumps(sanitized or otherwise) onto public servers?
Re: MDN Database Disclosure
#18There is much that could be done to improve this announcement: 1- What does "encrypted, salted passwords" mean? MD5 with a static salt? Holy shit, that's a problem. bcrypt? Less so. I have no context to know how concerned I should be, or any indication of how incompetent, or awesome, Mozilla's existing processes and defenses are. Fail. 2- They talk about a "data sanitization process" failing, but then talk about a "d…
A process failed, and the DB dump that is published to help contributors improve the MDN site got out unsanitized. The sanitization/publication process will be redesigned to include stricter controls. For now, it is shut down. MDN has been using persona for a while now, meaning that most accounts don't have passwords in the database. But older accounts still had the SHA256 salted hash that Django creates. We traced b…
Re: MDN Database Disclosure
#19Earlier quoted context omitted.
Why did you decide to use sha256 instead of a kdf like bcrypt or pbkdf2? I'm not attacking you, genuinely curious.
It's what django uses, and this site uses django.
[1] https://docs.djangoproject.com/en/1.5/topics/auth/passwords/...
Re: MDN Database Disclosure
#20There is much that could be done to improve this announcement: 1- What does "encrypted, salted passwords" mean? MD5 with a static salt? Holy shit, that's a problem. bcrypt? Less so. I have no context to know how concerned I should be, or any indication of how incompetent, or awesome, Mozilla's existing processes and defenses are. Fail. 2- They talk about a "data sanitization process" failing, but then talk about a "d…
Reading "encrypted passwords", and then "salted hashes" without any specification of the hash algorithm from a tech company like Mozilla is utterly astonishing to me.
I feel like whoever discovered this breach sent it over to the PR department without any sort of final review of the release by an engineer.