Impersonation/Delegation security considerations

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Impersonation/Delegation security considerations

    I'm having trouble finding specific documentation
    regarding the negative impact of using delegation in a
    Windows 2000 environment. I've read through numerous
    articles on using it, but if I do find anything that
    cautions the use of it, it reads like the following:

    Important:Delegation is a very powerful feature and is
    unconstrained on Windows 2000. It should be used with
    caution. Computers that are configured to support
    delegation should be under controlled access to prevent
    misuse of this feature.

    Our Network/Server side of the house does not want to
    implement delegation without knowing the immediate and
    potential security risks, and how to guard against them.
    Rich Guest

  2. Similar Questions and Discussions

    1. ASP.NET Impersonation / delegation
      you are on the right track. ntlm will not delegate even if your security team allowed delegation, only digest allows delegation. on win2k you...
    2. ASP.NET Impersonation & Delegation
      I have read various articles regarding explaining ASP.Net security model. I have one simple question regarding Delegation that i can't seemed to...
    3. Impersonation, Delegation & SQL Server
      I bailed on this before and just went to Basic Authentication and told the users they would have to live with signing on again.... but now I need to...
    4. Impersonation or Delegation?
      A client makes a request that executes a stored procedure in SQL Server. That stored procedure attempts to read a file on the web server but fails...
    5. Impersonation and delegation
      I've read many messages and even more technotes, but I still can't get the following scenario to work: I have a Windows 2003 web server and a...
  3. #2

    Default Re: Impersonation/Delegation security considerations

    Hi Rich,

    Our AD/network guys illustrated a potential security issue using the
    following example. By the way, I assume that by delegation you mean passing
    user's credential from one machine to the other, which would allow a Web
    application running on machine A to connect to a SQL server running on
    machine B using integrated Windows authentication with credentials
    (actually, authentication token or Kerberos ticket) of a remote user
    accessing the site from machine C. Without delegation, a Web application can
    only pass user's credentials to a SQL Server running on the same machine.
    So, let's say that I am an internal hacker and I would like to connect to
    some secure database using credentials of the company's CEO (CIO, or
    whatever). If delegation is enabled on my network, what I can do is:

    (1) Create a fake internal Web site.
    (2) Send an HTML e-mail (or regular e-mail with a link) pointing to my fake
    Web site to the CEO (CIO, or whatever).
    (3) In the code-behind logic, use caller's credentials (Kerberos ticket) to
    connect to the database and do whatever I want on behalf of the user.

    The main danger in this scenario is that the user will never know what have
    happened. Without delegation, this risk is eliminated because my fake Web
    site would not be able to propagate user's credentials to the remote SQL
    Server unless I use basic authentication for the Web site, which is also a
    risk, but at least it will be visible to the user that some security-related
    operation is happening.

    Alek

    "Rich" <rich@dha.net> wrote in message
    news:008601c36b20$50fc8dc0$a301280a@phx.gbl...
    > I'm having trouble finding specific documentation
    > regarding the negative impact of using delegation in a
    > Windows 2000 environment. I've read through numerous
    > articles on using it, but if I do find anything that
    > cautions the use of it, it reads like the following:
    >
    > Important:Delegation is a very powerful feature and is
    > unconstrained on Windows 2000. It should be used with
    > caution. Computers that are configured to support
    > delegation should be under controlled access to prevent
    > misuse of this feature.
    >
    > Our Network/Server side of the house does not want to
    > implement delegation without knowing the immediate and
    > potential security risks, and how to guard against them.

    Alek Davis Guest

  4. #3

    Default Re: Impersonation/Delegation security considerations

    Hi Alek,

    Your assumption and illustration of machines A, B, and C
    was 100% correct. Thank you very much for the internal
    security risk example. I will forward this info on to our
    network folks.
    >-----Original Message-----
    >Hi Rich,
    >
    >Our AD/network guys illustrated a potential security
    issue using the
    >following example. By the way, I assume that by
    delegation you mean passing
    >user's credential from one machine to the other, which
    would allow a Web
    >application running on machine A to connect to a SQL
    server running on
    >machine B using integrated Windows authentication with
    credentials
    >(actually, authentication token or Kerberos ticket) of a
    remote user
    >accessing the site from machine C. Without delegation, a
    Web application can
    >only pass user's credentials to a SQL Server running on
    the same machine.
    >So, let's say that I am an internal hacker and I would
    like to connect to
    >some secure database using credentials of the company's
    CEO (CIO, or
    >whatever). If delegation is enabled on my network, what I
    can do is:
    >
    >(1) Create a fake internal Web site.
    >(2) Send an HTML e-mail (or regular e-mail with a link)
    pointing to my fake
    >Web site to the CEO (CIO, or whatever).
    >(3) In the code-behind logic, use caller's credentials
    (Kerberos ticket) to
    >connect to the database and do whatever I want on behalf
    of the user.
    >
    >The main danger in this scenario is that the user will
    never know what have
    >happened. Without delegation, this risk is eliminated
    because my fake Web
    >site would not be able to propagate user's credentials to
    the remote SQL
    >Server unless I use basic authentication for the Web
    site, which is also a
    >risk, but at least it will be visible to the user that
    some security-related
    >operation is happening.
    >
    >Alek
    >
    >"Rich" <rich@dha.net> wrote in message
    >news:008601c36b20$50fc8dc0$a301280a@phx.gbl...
    >> I'm having trouble finding specific documentation
    >> regarding the negative impact of using delegation in a
    >> Windows 2000 environment. I've read through numerous
    >> articles on using it, but if I do find anything that
    >> cautions the use of it, it reads like the following:
    >>
    >> Important:Delegation is a very powerful feature and is
    >> unconstrained on Windows 2000. It should be used with
    >> caution. Computers that are configured to support
    >> delegation should be under controlled access to prevent
    >> misuse of this feature.
    >>
    >> Our Network/Server side of the house does not want to
    >> implement delegation without knowing the immediate and
    >> potential security risks, and how to guard against them.
    >
    >
    >.
    >
    Rich Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139