Results 1 to 7 of 7

Thread: IceGrid security question

  1. #1
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85

    Question IceGrid security question

    I'm planning to run all services in out service cloud using one big IceGrid (basically like DNS). Unfortunately it seems like that when registering nodes, no verification/cross check is done in respect to the node name. That means in practice, that every node that is part of the IceGrid has to run at the same security/trust level, because any node can pretend to be any other node. Is this observation correct, or is there a way by e.g. using permission verifiers to dictate in the master registry what each node is allowed todo e.g. by the certificate used.

    We're using certificates to secure communication between services as well by limiting access based on DNs (also for outgoing connections), so the risk is reduced, but there still is a good potential to disrupt the service infrastructure. Not sure if there would be also a problem with AdapterIds, or if those are enforced by the registry based on deployment information.

    Bringing this down to a yes/no question: Do all participating nodes in an IceGrid form a hippie commune (and therefore might use the same SSL certificate as well, since it won't make a difference anyway)?

    Thanks ;)
    Michael

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Yes, once a node is authenticated and connected to the registry, it can claim to be any node, there's no way to restrict a given node (identified by its certificate) to use a given node name. We could certainly improve this and allow specifying a mapping of node names and SSL identities in the IceGrid registry configuration (or perhaps simply use the DN as the node name).

    In any case, you can either use a single certificate for all the nodes or different certificates. The second option provides you a way to prevent some nodes to connect to IceGrid if you revoke theirs certificates.

    Cheers,
    Benoit.

  3. #3
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    Ok, I might write a patch to do that (it doesn't seem too hard, extract the DN from the SSL context, store it and verify). Hardest part is probably to make that configurable in a transparent way.

    Would you be interested in integrating such a patch once it's done - just asking because reviewing it might take some time at your end. Won't happen anytime soon anyway, but I'll keep you posted.

  4. #4
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    Haven't heard back from you on this one yet (if you're interested in getting a structured patch) - kind of defines how we're trying to implement this. A solution that will make it to the source tree is preferred for obvious reasons.

  5. #5
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Michael,

    Thank you for your offer to contribute this enhancement to IceGrid. It sounds like this would be a generally useful feature.

    We will need a signed assignment for this contribution, in order to review it and (if we find it suitable) include it in our source tree. I'll send you our assignment template by email.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  6. #6
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    Hi Bernard,

    I've sent you a mission statement, a description of the patch, the patch itself, and the signed assignment document via email.

    cheers
    Michael

  7. #7
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85

    Patch posted

    I posted a patch that addresses this issue in the Patches section of the Forum. See Patch to prevent IceGrid node and registry replica name spoofing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple password security
    By SteveHicks in forum Help Center
    Replies: 4
    Last Post: 09-09-2010, 12:32 PM
  2. ICE security.
    By Liuneng in forum Help Center
    Replies: 3
    Last Post: 06-29-2010, 03:41 AM
  3. Security Question about Object Ids
    By kwaclaw in forum Comments
    Replies: 6
    Last Post: 02-26-2009, 01:01 PM
  4. Replies: 7
    Last Post: 05-16-2008, 11:47 AM
  5. suggest for Security of ice
    By dragzhb in forum Comments
    Replies: 8
    Last Post: 07-12-2004, 10:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •