Warning: iconv_mime_decode() [function.iconv-mime-decode]: Malformed string in /home/secureg/public_html/lib/standard.lib.php on line 2251
Windows Explorer may expose FTP passwords in plaintext
Windows Explorer may expose FTP passwords in plaintext

Windows Explorer may expose FTP passwords in plaintext

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Windows Explorer may expose FTP passwords in plaintext Brian Knittel 07-18-2008
Posted by Brian Knittel on August 4, 2008, 3:29 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Alun got the point. Windows Explorer is breaking the contract Windows makes
with the user not to display OR store the password. The first contract is
implicit: the password is obscured when it's entered in the
username/password prompt, so it should remain obscured. The second contract
is explicit, because the "Save this password" box can be left unchecked, yet
the password is still retained.

That's what I meant when I said that arguments about FTP's security are
beside the point. Those arguments don't NEED to be countered in
this discussion of the user interface bugs, because, as Alun understood,
it's a different debate. I might be using an-encrypted-over-the-wire network
for all anyone knows. The user interface is still broken (that's fact, not
opinion), and it's broken in a really bad way (that's my opinion).

It seemed pretty simple to me when I started this thread:

* The "save password" box should be respected.

* Since I never put my password into the URL I typed, Windows Explorer
shouldn't be putting it into the URL it stores in the history. The
associated password, IF I request it to be stored, should be enrypted and
stored elsewhere. There is a credential management system in Windows for
this sort of thing. Windows Explorer should use it.

That's all I'm saying. Are these bugs really worth defending?

> Whether you feel those are compelling points or not, it's worth noting
> that the behaviour for FTP is different from any other protocol for which
> you can make similar assertions.
..
> It is only the FTP implementation - and only the implementation in Windows
> Explorer - where this approach to password storage and display is made,
> despite there being numerous other protocols that are at least as weak.
>
> There are two debates here:
> 1. I disagree with your suggestion that it's fine to display passwords "to
> the user", as if there is no concern about shoulder-surfing.
> 2. The operating system is being inconsistent, when you compare FTP
> against similarly unsecure protocol implementations.
>
> Brian's interested in addressing debate 2. Debate 1 is a different issue
> altogether.
>
> Alun.



Posted by S. Pidgorny on August 6, 2008, 4:18 am
If you were  Registered and logged in, you could reply and use other advanced thread options


G'day:

> Alun got the point. Windows Explorer is breaking the contract Windows
> makes with the user not to display OR store the password.

There's no such contract. You cannot store ftp password using irreversible
encryption.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

* http://sl.mvps.org * http://msmvps.com/blogs/sp *



Posted by Alun Jones on August 6, 2008, 10:45 am
If you were  Registered and logged in, you could reply and use other advanced thread options


> G'day:
>
>> Alun got the point. Windows Explorer is breaking the contract Windows
>> makes with the user not to display OR store the password.
>
> There's no such contract. You cannot store ftp password using irreversible
> encryption.

Brian's already stated that there is a box that he chooses not to check,
that says "Save this password".

Brian does not want the password to be stored - reversibly or otherwise.

Alun.
~~~~
--
Texas Imperial Software | Web: http://www.wftpd.com/
23921 57th Ave SE | Blog: http://msmvps.com/alunj/
Woodinville WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.



Posted by Brian Knittel on August 7, 2008, 12:36 am
If you were  Registered and logged in, you could reply and use other advanced thread options


>> Alun got the point. Windows Explorer is breaking the contract Windows
>> makes with the user not to display OR store the password.
>
> There's no such contract. You cannot store ftp password using irreversible
> encryption.

You're quite correct, irreversible encryption cannot be used, since the FTP
protocol requires transmission of the unencrypted password to the server.

But I don't believe that that has anything to do with the issue at hand.
Password storage and UI behavior are two completely independent things.

First, the UI behavior: the display contract is implied when the UI obscures
the password during entry, displaying bullets instead of letters. This sets
up an expectation that the UI won't later visibly display the password in
the clear. I'm arguing that this expectation is reasonable and significant;
it has to be taken seriously and met. What do those dots in the password
dialog box mean, if not, "this password is going to be kept hidden?" The
dots in the password prompt lose their meaning if it turns out that
depending on the protocol and the program you use, Windows might show the
password again, or it might not. You get to guess when and how. If the UI
can't be trusted to behave consistently, should I also be worried that
Windows is going to display my online banking password when I'm least
expecting it? The passwords to the domain servers I manage? Displaying the
password after the UI has signalled that the password is going to be kept
secret is a betrayal of trust. I was completely taken aback when I saw it --
and I've seen more than my share of gory UI train wrecks.

(Again: I'm talking about how the UI interacts with me, not with how Windows
interacts with the remote server--keeping an FTP password secure in that
interaction is different realm of responsibility. And for this converssation
I'm assume that the user checked "Save this password." That Explorer retains
the password when the box isn't checked is also a separate issue).

Now, second, implementation. Yes, reversible encryption has to be used, just
as IE has to reversibly encrypt the passwords it memorizes for websites via
the autocomplete feature. I notice that there is no way to display any of
_those_ stored passwords in the clear, yet they're not encrypted when sent
over the wire either. Why should FTP be treated any differently, and only by
Windows Explorer? The FTP URL should be put into Explorer's history list,
yes, but the username and password that it prompts for should be reversibly
encrypted and stored as metadata associated with -- but not displayed
with -- the URL.

Given that (a) every other program maintains the veil around passwords and
(b) mechanisms for storing and recovering passwords separately from the URL
history exist and (c) Internet Explorer uses them and demonstrates that it's
not necessary for Windows Explorer to do this, and (d) Explorer's
functionality can be maintained without deviating from consistent UI
behavior, why should Windows Explorer be let off the hook?

Why defend the behavior? Does it serve a purpose, is there a reason that it
should be retained?

And if there is any ambivalence about whether the behavior is acceptable,
shouldn't the error be on the side of better security and more conservative
handling of credentials, rather than less?

Brian




Posted by =?Utf-8?B?RGFu?= on August 9, 2008, 9:06 am
If you were  Registered and logged in, you could reply and use other advanced thread options


Exactly, Brian we can always use more external security and internal safety
for computers and networks.

"Brian Knittel" wrote:

> >> Alun got the point. Windows Explorer is breaking the contract Windows
> >> makes with the user not to display OR store the password.
> >
> > There's no such contract. You cannot store ftp password using irreversible
> > encryption.
>
> You're quite correct, irreversible encryption cannot be used, since the FTP
> protocol requires transmission of the unencrypted password to the server.
>
> But I don't believe that that has anything to do with the issue at hand.
> Password storage and UI behavior are two completely independent things.
>
> First, the UI behavior: the display contract is implied when the UI obscures
> the password during entry, displaying bullets instead of letters. This sets
> up an expectation that the UI won't later visibly display the password in
> the clear. I'm arguing that this expectation is reasonable and significant;
> it has to be taken seriously and met. What do those dots in the password
> dialog box mean, if not, "this password is going to be kept hidden?" The
> dots in the password prompt lose their meaning if it turns out that
> depending on the protocol and the program you use, Windows might show the
> password again, or it might not. You get to guess when and how. If the UI
> can't be trusted to behave consistently, should I also be worried that
> Windows is going to display my online banking password when I'm least
> expecting it? The passwords to the domain servers I manage? Displaying the
> password after the UI has signalled that the password is going to be kept
> secret is a betrayal of trust. I was completely taken aback when I saw it --
> and I've seen more than my share of gory UI train wrecks.
>
> (Again: I'm talking about how the UI interacts with me, not with how Windows
> interacts with the remote server--keeping an FTP password secure in that
> interaction is different realm of responsibility. And for this converssation
> I'm assume that the user checked "Save this password." That Explorer retains
> the password when the box isn't checked is also a separate issue).
>
> Now, second, implementation. Yes, reversible encryption has to be used, just
> as IE has to reversibly encrypt the passwords it memorizes for websites via
> the autocomplete feature. I notice that there is no way to display any of
> _those_ stored passwords in the clear, yet they're not encrypted when sent
> over the wire either. Why should FTP be treated any differently, and only by
> Windows Explorer? The FTP URL should be put into Explorer's history list,
> yes, but the username and password that it prompts for should be reversibly
> encrypted and stored as metadata associated with -- but not displayed
> with -- the URL.
>
> Given that (a) every other program maintains the veil around passwords and
> (b) mechanisms for storing and recovering passwords separately from the URL
> history exist and (c) Internet Explorer uses them and demonstrates that it's
> not necessary for Windows Explorer to do this, and (d) Explorer's
> functionality can be maintained without deviating from consistent UI
> behavior, why should Windows Explorer be let off the hook?
>
> Why defend the behavior? Does it serve a purpose, is there a reason that it
> should be retained?
>
> And if there is any ambivalence about whether the behavior is acceptable,
> shouldn't the error be on the side of better security and more conservative
> handling of credentials, rather than less?
>
> Brian
>
>
>
>

Similar ThreadsPosted
Should "windows explorer" be in firewall as a security alert May 27, 2005, 10:03 am
Using windows explorer 7 e-mails won't display graphics or web lin September 6, 2006, 4:29 pm
domain tree view in windows explorer December 4, 2006, 10:27 am
explorer opens on startup, C:\WINDOWS\SYSTEM32 June 5, 2007, 2:36 pm
Windows Internet Explorer 7 beta - Security Warnings June 2, 2006, 11:50 am
Can we "stored user names and passwords" in Windows XP Home Edition? December 16, 2005, 5:57 am
The Microsoft Internet Explorer Weblog The Microsoft Internet Explorer Weblog IEBlog June 4, 2007, 5:52 pm
explorer.exe..??? June 27, 2005, 6:58 pm
IE Explorer November 7, 2005, 6:06 am
Internet Explorer 6 September 28, 2006, 6:09 pm

The site map in XML format XML site map

Contact Us | Privacy Policy