Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

Re: Should login pages be protected by SSL?

Subject: Re: Should login pages be protected by SSL?
Date: Tue, 21 Jun 2005 09:04:26 -0400
On Mon, Jun 20, 2005 at 11:28:14PM -0700, bluewizard83-de4gahsh@yahoo.com wrote:
-- Amir Herzberg <herzbea@macs.biu.ac.il> wrote:
Here is a simple question: should web login forms be always protected
by SSL?

Let me check to see if I understand what you are asking.  Do you mean
something like:

login form at http://www.site.org/login.html with a login form that
submits to  something like https://secure.site.org/auth.cgi?

In my opinion the login form doesn't need to be protected with SSL, but
the form MUST submit to a SSL protected page if there is any data of
any value being transmitted.

I think Amir has a good point, though it's not always black-and-white.

As a crypto/security expert, my answer is yes. I think this is 
necessary, to protect against MITM attacks, as well as from the more 
common and easy phishing, pharming, and other forms of spoofing
attacks, 

I don't see how SSL-protecting the login form would protect you from
MITM attacks if the form is submitting to a SSL protected page.

A MITM attack would, presumably, substitute the http-served "login form"
with a lookalike that did something slightly different, perhaps something
as subtle as copy/transmit the credentials to the attacker's site *before*
allowing the victim's browser to transmit them to the https processing URL.

Lots of sites embed little username/password boxes on their http pages,
and I generally agree with Amir that those layouts are dangerous. At least
offer the users a "secure login" link that'll take them to an https URL
with a recognized & reputable domain name, etc.

On sites I'm responsible for, there's a dedicated Single Sign On app on
a single https URL -- not as quick as the username/password embedded in
the http page, but I don't have to worry so much about MITM/phishing/XSS
spoofs fooling our users into having their credentials phished.

-Peter

<Prev in Thread] Current Thread [Next in Thread>