.Net Remoting and Stored Usernames and Passwords



Does anyone know if this is a bug or intended behavior by Microsoft?

Apparently, entries in "stored usernames and passwords" (which is
enabled by default when you install the OS) overrides the user's
security credentials when a .Net Remoting call is made to a machine
that has an entry in the list. This a HUGE security breach and a
potential nightmare for software developers using .Net Remoting.

I cam across this while I was testing an application I wrote using .Net
Remoting 2.0. The remote client kept getting access denied on the
remoting call and when I traced it I saw that I was coming into the
server as a different user than the one logged onto my client machine.
I spent a couple of days trying to figure out how this could be and
then I learned about "stored usernames and passwords". It was using
security credentials that were stored and the password had expired.
This is impersonation without the software intending to
impersonate!

Example: A user of your software attempts to perform a task on your
application that does Remoting. In the past they have made a remote
connection to the machine that hosts the remoting server. The
credentials they used to make the remote connection are no longer valid
(account was deleted, password changed, etc.) so the task fails
because, unlike what is expected, the credentials of the process owner
are not passed through to the server but instead the cached credentials
that were never considered are used.

This is a serious security violation. Has anyone else come across this.
Is Microsoft going to change this behavior?

Cindy

.



Relevant Pages

  • .Net Remoting and Stored Usernames and Passwords - Is this a Bug?!
    ... potential nightmare for software developers using .Net Remoting. ... could be and then I learned about "stored usernames and passwords". ...
    (microsoft.public.dotnet.security)
  • .Net Remoting and Stored Usernames and Passwords
    ... entries in "stored usernames and passwords" (which is ... potential nightmare for software developers using .Net Remoting. ... security credentials that were stored and the password had expired. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: Remote Web Access Credentials stored where?
    ... > site with another User credentials in your client computer. ... The client in question is not yet joined to the SBS domain. ... Under Advanced is a Manage Passwords button which opens ... I can login as any SBS ...
    (microsoft.public.windows.server.sbs)
  • Re: Kerberos error on Windows XP Pro SP2 connecting to a domain resource
    ... Disclaimer: This posting is provided "AS IS" with no warranties, ... DisableDomainCreds to 1 to stop store domain credentials. ... change local passwords on the client. ...
    (microsoft.public.windows.server.active_directory)
  • Re: hosted exchange - cached password
    ... staffer's recommendation. ... open Outlook without inputting credential. ... credentials item. ... In the "Stored user names and passwords" window, ...
    (microsoft.public.exchange.clients)