topics that matter; ideas worth sharing

share a tip, submit a link, add something new

SSL is Not a Magic Bullet

Be the first to comment | 1I like it!
April 23, 2002, 12:00 AM —  ITworld — 

Anyone who has filed out their personal or billing info online has
likely entered it via a 'secure Web server'. You can tell the
transmission is secure because the URL reads 'https://...' instead of
http. SSL (http://www.webopedia.com/TERM/S/SSL.html), the secure
sockets layer protocol, is the 'S' in HTTPS. [1]

The beauty of SSL is its integration into most Web browsers, where it
invisibly encrypts Web transactions and prevents any attacker in the
middle from seeing the data you send and receive. Attackers can see
that you are making a connection to the remote system, but not the
transmission's content itself. SSL even authenticates the server, so
when you hit https://microsoft.com/jobs/stop_bugging_me.asp, you know
that you are talking to the Evil Empire and no cracker could be
positioned between you, intercepting or modifying the packets.

Unfortunately, many folks look at SSL as the magic answer to all
security concerns. Every three months or so, I find myself giving a
discussion about what SSL does and does not protect.

SSL guarantees:

* The server you want to contact is the one you got. SSL verifies
that the server's certificate (similar to a public key) is signed
by a trusted entity from your browser's preinstalled list of
companies that it trusts. [1]
* No attacker can read or modify the data being transmitted between
you and the Web server.

That's it, and nothing else. In fact, if you got a warning about a
certificate problem and you blindly click, 'Ok, ok, sure, whatever,
yeah', then you aren't even guaranteed the above two points.

Now let's see a partial list of things that SSL does not protect you
from:

* Host Insecurities -- People frequently think that having an SSL-
enabled Web server, often just called a 'secure Web server,'
secures the machine itself. No, you still need to keep patches up
to date, harden your system, turn off unneeded services, and
check your logs.
* Stupid Programming (CGI/mod_perl/etc) Mistakes -- The
transmission may be encrypted but an attacker can still connect
and try to break your buggy software. And since it's encrypted,
your IDS systems can't even warn you about it.
* Is the Web page Run by the People You Think? -- The SSL
certificate is based on the host name, nothing else. I can get a
certificate for 'buildinglinuxvpns.net' since I own it. However,
I can whip up the content that looks just like your bank,
complete with forms for account numbers and passwords, and host
it there. I could even have it relay the info to your bank such
that it shows you everything exactly as it should be, but saving
a decrypted copy the whole while.
You're not likely to fall for this trick with such a blatantly
unrelated URL, but what if an attacker
registered 'www.my_banks.com' when the real URL was supposed to
be 'www.my_bank.com'? An easy typo, and you may never notice the
difference.
* Backend cleartext storage and transmissions. Many Web servers get
and store data using outside sources, such as databases or flat
files. You may be entering your credit card on a secure channel,
but they may still be taking it and emailing it in the clear to
their main office for processing.

You may feel that many of the things I listed above are obvious. For
that matter, you may feel offended that I'd even mention some of them.
However I find that people are often confused, and don't realize where
the security of SSL begins and ends. This usually results in hours of
bickering about security needs before we figure out exactly where the
faulty assumptions came from.

NOTES
[1] TLS, the Transport Layer Security protocol, is the latest/greatest
version of SSL, but it's not as widely available in browsers so
most folks still just say SSL. However SSL/TLS is more accurate.

[2] Now how much you trust the folks who wrote your browser is a
different question all together.

» posted by ITworld staff

ITworld

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

Get a broad understanding of important regulations and how you can make sure your site is in adherence.





Learn how VeriSign SGC-enabled SSL Certificates can help improve site security and customer confidence in the free white paper, "How to Offer the Strongest SSL Encryption." In this paper you will learn the differences between weak and strong encryption and what they mean for your site's performance.

Get VeriSign's free white paper: "The Latest Advancements in SSL Technology" and learn about the benefits of strong SSL encryption, Extended Validation (EV) SSL and security trust marks and what these SSL offerings can do for your site.

Now with Extended Validation (EV) SSL available from VeriSign, you can show your customers that they can trust your site. Learn about EV SSL benefits in this free VeriSign white paper.

More Resources