-
moparisthebest
might want to update or manually block some newly compromised CAs https://emudhra.we-have-a-problem.com/
-
stratself
so stuff like ejabberd's LDAP module will break against Conversations by default?
-
moparisthebest
well people who install conversations on a new phone will get an error trying to log in
-
stratself
(they only have LDAP plain, not LDAP SCRAM, so likely yes i believe)
-
moparisthebest
hopefully a very clear error for a non-technical user, but I somehow doubt it
-
Kris
> so stuff like ejabberd's LDAP module will break against Conversations by default? Yes ↺
-
moparisthebest
> might want to update or manually block some newly compromised CAs https://emudhra.we-have-a-problem.com/ update: it's way worse than a compromised CA, rather the private keys are all a single byte and now public so literally anyone can use them to sign "fake" certs and MITM TLS, one of them is 4 ( https://xkcd.com/221/ ) https://mastodon.catgirl.cloud/@49016/117474217042191790 ↺
-
jjj333_p [pain.agency]
any idea on which CA it is? i figure a lot of us are using LetsEncrypt, who all is affected?
-
moparisthebest
emudhra but the issue is that all our code will trust certs signed by them as valid until we fix it
-
moparisthebest
(and anyone can generate + sign certs as them now)
-
jjj333_p [pain.agency]
it appears debian is still running behind as per usual 😕
-
moparisthebest
yea but you can just run the script from https://emudhra.we-have-a-problem.com/ to fix it now
-
jjj333_p [pain.agency]
ran the script, do you know if i need to reboot everything too or if everything (mainly prosody given thats the main thing consuming certs) will get with it
-
moparisthebest
I don't know if prosody caches those or not, I'm gonna restart mine
👍 1 -
jjj333_p [pain.agency]
ugh i guess ill go do that
-
jjj333_p [pain.agency]
we're back, just restarted the entire vps 🤷
-
forever2k38
pain.agency is such a cool domain
❤ 1 -
moparisthebest
hey just realized now that we can generate + sign certs for arbitrary domains we can use https://github.com/moparisthebest/s2s-sendxmpp to send arbitrary messages impersonating any JID on any unpatched server, cool eg log into this MUC with one of the admin's public JIDs and ban everyone :P
-
hueso
https://sormani.com.ar:5443/upload/00c951fca43d4738a2feb451c7c53f4274750350/tircXDt1rJkz0zYJkut6gdwHrZDDE1D6XVPtDoAb/SOedHuwMSS6B94xtx88OkQ.jpg

-
forever2k38
> hey just realized now that we can generate + sign certs for arbitrary domains we can use https://github.com/moparisthebest/s2s-sendxmpp to send arbitrary messages impersonating any JID on any unpatched server, cool > > eg log into this MUC with one of the admin's public JIDs and ban everyone :P just patched my servee
-
forever2k38
server
-
forever2k38
moparisthebest: do you have the priv key?
-
forever2k38
has it been published
-
moparisthebest
yup, I already said 1 is 4 and they were all 1 byte which leaves you only 256 to try :) https://mastodon.catgirl.cloud/@49016/117474217042191790
-
forever2k38
wow
-
forever2k38
just patched my vps
-
Menel
Suddenly dialback seems the more secure Auth
✅ 2 -
jjj333_p [pain.agency]
honestly one of the things that i think matrix might have gotten right (albeit due to architectural challenges)
-
forever2k38
> honestly one of the things that i think matrix might have gotten right (albeit due to architectural challenges) im pretty sure matrix isnt vulnerable to this
-
moparisthebest
> Suddenly dialback seems the more secure Auth and BIDI seems like a giant foot cannon we should axe or at least revisit ↺
-
tom
>foot cannon
-
jjj333_p [pain.agency]
> im pretty sure matrix isnt vulnerable to this yeah because their validation system is basically dialback but http
-
jjj333_p [pain.agency]
every request is signed with your key, and the pubkey is available on a specific http endpoint that you check and then cache
-
jjj333_p [pain.agency]
obviously we have channel binding so it would look a little different but thats basically dialback afaik
-
moparisthebest
that doesn't really fix this and also brings new problems
-
forever2k38
>> im pretty sure matrix isnt vulnerable to this > > yeah because their validation system is basically dialback but http dialback + TLS
-
jjj333_p [pain.agency]
> that doesn't really fix this and also brings new problems how so? ↺
-
jjj333_p [pain.agency]
i mean it kinda moves trust to dns rather than CA but idk
-
moparisthebest
sounds like it's still DNS and CA but with an additional hand-rolled TOFU built on top ?
-
jjj333_p [pain.agency]
well CA isnt really a problem since it can be any key of the algorithm youre using, because youre checking it by resolving dns and asking the server yourself
-
jjj333_p [pain.agency]
i guess its kinda centralizing the trust to dns
-
forever2k38
another thing about matrix
-
forever2k38
the protocol sucks
-
jjj333_p [pain.agency]
albeit, it works well for darknets such as tor that dont rely on dns
-
forever2k38
it goes over http and everything does tons and tons of requests
-
jjj333_p [pain.agency]
> the protocol sucks absolutely, hence why i said one of the _few_ things ↺
-
jjj333_p [pain.agency]
and clarified that they arrived there due to other limitations
-
moparisthebest
not really sure what that means, they 100% are relying on DNS and XMPP also "works well" on Tor :P
-
jjj333_p [pain.agency]
did i wake up today and suddenly start speaking mandarin or something, the hell is going on 😭
-
freespoken.nz
A Debian update for ca-certificates is out now.
-
Steve (zeank)
If you're running ejabberd and want to know if your system is still vulnerable connect to your running node and do ``` > httpc:request(<<"https://dv-g3b-emudhra.we-have-a-problem.com/">>). ```
-
Steve (zeank)
Had to restart ejabberd, `reload_config` was not enough.
-
jjj333_p [pain.agency]
> A Debian update for ca-certificates is out now. mfw i missed it by an hour ↺
-
mightyBroccoli
do not forget the Comodo / Sectigo AAA Certificate Services cross-sign
-
freespoken.nz
> Suddenly dialback seems the more secure Auth Also: DANE. ↺
-
freespoken.nz
But either way, if it turns out that the DNSSEC root secret key is 6 or something, we're sunk.