RE: Encrypted or Not Encrypted



Indeed this is a manual redirect initiated by the user instead of a HTTP
redirect that is started by the web server (*).

IMHO you need to make sure that you POST credentials via HTTPs. The form
snipped in your email seems to do exactly that.

A possible test to make sure you establish a secure SSL connection before
sending credentials to the site is to use a web proxy (e.g. webscarab or
paros) and analyze the traffic to the server.

By analyzing the HTTP requests and responses you can also look at the HTTP
headers to identify other issues besides information disclosure of passwords
such as for example caching, the form of authentication being used (e.g.
basic authentication via SSL protects credentials but is not as strong as
other authentications toward network attacks, secure session management to
make sure sessionsID are changed after the POST etc etc)

Sorry for the web application security spin
(*) http://en.wikipedia.org/wiki/URL_redirection
(**) http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project
(***) http://www.parosproxy.org/index.shtml

Regards

Marco Morana
OWASP Cincinnati Chapter Leader
http://www.owasp.org/index.php/Cincinnati
NYC OWASP Conference is the OWASP USA Event!
http://www.owasp.org/index.php/OWASP_NYC_AppSec_2008_Conference

-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx] On
Behalf Of Ray Van Dolson
Sent: Thursday, September 11, 2008 7:10 PM
To: security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: Encrypted or Not Encrypted

On Thu, Sep 11, 2008 at 11:25:21AM -0700, amatachick@xxxxxxxxx wrote:
I've run into this issue a few times now and would like to know what
y'all think. Here is the situation: A website not using SSL has a
login page. As soon as credentials are entered on this page they are
redirected to a site using SSL. Here is a specific example of the
code on one such site:

<form name="loginpersonal" method="POST"
action="https://secure.sitename.com/engine/login/login.asp"; onSubmit="return
checkLoginForm(this);">
<input type=hidden name=IsPostback value=1>

Now, from what I understand, the login credentials would still be
unencrypted while traveling to the secure site. So that would negate
the effect of having it redirect to a secure site in the first place.
Right? I keep brining up this fact but all I get back is that it's
being redirected so it's secure. I feel like I'm taking crazy pills
here so I'd appreciate some feedback. Am I wrong? If I am I can
handle that, I'd just like to know. Thanks!


When the user clicks submit above, the POST request containing the
login information in the form is sent directly to the HTTPS URL in the
"action" field. Redirect wouldn't really be the correct term to use
here... you'd be talking directly to the HTTPS server from the moment
you submit the form in this case.

Ray



Relevant Pages

  • iPlanet 6 - http to https
    ... I have iPlanet 6 configured with http on port 80 and https on port ... I would like for all http traffic to be secure and/or redirected ... am aware of how to use .htaccess to redirect http:// to https://. ...
    (comp.sys.sun.misc)
  • Re: is that a good offer for a server installation?
    ... SO linux based upon kernel 2.6xx ... installation of cwfm (a software that manages files, at first I believed that should be created by them, but then I found out to be free on the net http://cwfm.sourceforge.net) upload and download are managed via http ... they told him that ftp is not secure for this and their program is based ... they use a https connection then it should be secure enough. ...
    (comp.infosystems.www.servers.unix)
  • Re: Encrypted or Not Encrypted
    ... Optimally they should enter their creds after ssl has setup the secure session, ... The handshake requires that the client initiate the SSL connection. ... The agent acting as the HTTP client should also act as the TLS ...
    (Security-Basics)
  • Re: Redirect https to http Exchange 2007
    ... I took off require SSL on the /OWA dir and i can get to ... it by http and https, but the redirect to https isnt working if i force ssl ... /OWA vdir but the redirect to SSL isnt working, ...
    (microsoft.public.exchange.admin)
  • Re: Help, my machine has been hacked
    ... > being used to perform port scans on a bank. ... > closed HTTP) ... > DSLReports and they all report that my machine is secure. ... > 4) Recommendations for a hardware firewall? ...
    (comp.os.linux.security)

Loading