News for hackers. Stuff that matters.
Re:OpenSSL security advisory: Infinite loop reachable when p... by beny23 on Tuesday March 15, 2022 @01:08PM (#30687905)
I wouldn't have thought this an issue if you're behind an AWS WAF or LB? (and assuming AWS is patched already)
Re:OpenSSL security advisory: Infinite loop reachable when p... by nazlorenzo on Tuesday March 15, 2022 @03:38PM (#30690349)
This vulnerability affects parsing maliciously crafted certificates, so it will mostly affect clients. If your app is fetching data from a 3rd party and validating its certificate, it may be vulnerable, regardless of how you are fronting requests to your site.
Re:OpenSSL security advisory: Infinite loop reachable when p... by lmilcin on Tuesday March 15, 2022 @03:46PM (#30690473)
> This vulnerability affects parsing maliciously crafted certificates, so it will mostly affect clients.

Actually, it is the opposite.

You seem to be unaware of the fact that servers do receive certificates from the clients which are then parsed.

Which is already mentioned in the advisory document:

  "Thus vulnerable situations include:

   - TLS clients consuming server certificates
   - TLS servers consuming client certificates <---- here
   - Hosting providers taking certificates or private keys from customers
   - Certificate authorities parsing certification requests from subscribers
   - Anything else which parses ASN.1 elliptic curve parameters"
Re:OpenSSL security advisory: Infinite loop reachable when p... by alexw91 on Tuesday March 15, 2022 @04:26PM (#30691126)
That's not how the TLS handshake works. The TLS server must be configured to request a certificate from the client in order for the client to know that it needs to send a client certificate to the server, and that server-side configuration is disabled for ~99%+ of endpoints.

TLS server implementations should be aborting the TLS connection for violating the TLS Handshake state machine if a client attempts to send a client certificate when it wasn't requested.

So while this bug affects both clients and servers, 100% of clients are parsing the server's TLS cert during the TLS handshake, but less than ~1% of servers are parsing a client's certificate during a handshake.

Re:OpenSSL security advisory: Infinite loop reachable when p... by lmilcin on Tuesday March 15, 2022 @05:51PM (#30692284)
There is very little reason to DOS a client and a lot of reasons to attack servers.

There is a huge number of public facing services that implement mutual auth and all those are potentially vulnerable to DOS. While clients can just decide to not connect to a web service that causes their browser to malfunction (and why have you connected there in the first place?), services are usually not at liberty to ignore a client at this stage.

So yes, those servers that do request client certificate are targets and my point still stands that servers are much more affected than the clients.

What would be an affected client? You keep connecting to this infected website that causes your browser to die? Somebody embedded some tracking on their page that now points to an infected website? Everybody will just move on and it is hard to say you are very much affected by this problem.

Whereas if you are a service and you are affected you absolutely need to implement a fix.

Re:OpenSSL security advisory: Infinite loop reachable when p... by unixbane on Tuesday March 15, 2022 @09:33PM (#30694220)
correction: literally 99.99999% of endpoints. they use password^W SMS authentication instead. no seriously, how is the only one good thing about X.509 (authentication via public key) the only unused part (to be fair, if anyone used it, wed have a whole new 10 episodes of vuln disclosures).
Re:OpenSSL security advisory: Infinite loop reachable when p... by lmilcin on Tuesday March 15, 2022 @10:14PM (#30694503)
> correction: literally 99.99999% of endpoints.

You made up a number with no grounding in reality because of your bias due to being "general public".

For corporate services it is actually quite common to use client certificates and mutual auth. Also popular with VPNs.

You might not be aware of this because corporations do not want to deal with people who do not know or can be forced to know how to generate signing request.

This is different when you control both the service and the users of the service and you have something valuable to protect.

As an example, I worked with credit card terminals and these used mutual auth with properly managed client certificates.

You wouldn't call DOS on all terminals and ATMS "insignificant".

Re:OpenSSL security advisory: Infinite loop reachable when p... by unixbane on Friday March 18, 2022 @10:42AM (#30722904)
No, I was purely focused on public web. As for your corporate services, those are all insecure as hell despite whaever tech they use. Anything that's remotely hidden from public in any way historically was uncovered to have non stop, gaping, and obvious security holes, even after being corrected 1-5 times. This is a result of the way businesses are run as miniature reactionary states ("just ban people in the firewall brother. call the police").
Re:OpenSSL security advisory: Infinite loop reachable when p... by acdha on Tuesday March 15, 2022 @01:31PM (#30688229)
For an intermediary like a WAF, load-balancer, or CDN to help it needs to do all of the certificate processing and keep your backend app from seeing the certificate at all. If you are terminating HTTPS at the edge and using HTTP internally that's very likely but if you're using an NLB instead of an ALB, it's not. Similarly, you'd also want to see if there's any application-level path where a certificate would be included in an uploaded file but that's far less common.
Re:OpenSSL security advisory: Infinite loop reachable when p... by jcims on Tuesday March 15, 2022 @01:44PM (#30688412)
Depends if s2n is vulnerable to the same bug. Of course AWS doesn't protect you against application bugs so if your application has an SSRF vulnerability (presumably otherwise unexploitable) an attacker might be able to DoS you.

They don't mention S/MIME or things like signed binaries or SAML assertions but those seem plausibly vulnerable as well.

Re:OpenSSL security advisory: Infinite loop reachable when p... by jamespwilliams on Tuesday March 15, 2022 @01:32PM (#30688248)
I think nearly everything at AWS uses s2n and not OpenSSL these days
Re:OpenSSL security advisory: Infinite loop reachable when p... by justinsaccount on Tuesday March 15, 2022 @02:27PM (#30689018)
Has s2n been fips certified? I thought some things (govcloud?) were still using openssl due to fips requirements.
Re:OpenSSL security advisory: Infinite loop reachable when p... by znep on Tuesday March 15, 2022 @03:09PM (#30689763)
I'm not sure what they are using right now, but they currently have the "AWS-LC Cryptographic Module" listed as being in process for validation which may be sufficient for s2n.

I know there are other AWS features/services that are lined up behind that validation for FIPS support.