★ wanayoo — archive 1999 http://www.webdeveloper.com/hotstuff/sslbug.htmlNouvelle recherche | Portail wanayoo
internet.com

Go to WebDeveloper Home

Seek and you shall

or search all of internet.com
Looking for a Site Map?
Vote for WD!
Please keep
voting for us
as a Top 100
Web site!

The Web Developer Network
WebDeveloper.com
Streaming Media World
WebReference.com
Web Developer's Virtual Library
BrowserWatch
Java Boutique
Web Developer's Journal
JavaScript Source
ScriptSearch
Web Developer Forums
Web Developer News

internet.com
Internet News
Internet Stocks
Internet Technology
Web Developer
Internet Marketing
ISP
Downloads
Internet Resources
International

Search internet.com
Advertising Info
Corporate Info
Internet Trade Shows

internet.commerce
Be an Affiliate
Be a Partner
Software Store
Computer Help
Register a Domain
Be Domain Registrar
e-solutions
Internet Jobs
A/V Network
Map Your Website
Rent E-mail Lists
Bookstore
Press Release dist.
Sell Ad Space
Internet Research
Venture Capital
Web Publishing
Build Your Intranet
Expert Advice
Get e-Biz Intell.
Content for Websites

  The Quintessential Resource for Internet Servers
S S L   B U G ?
WebDeveloper.com

Major SSL Security Hole?

By David Fiedler

What the Heck?

"Everyone knows" that SSL (Secure Sockets Layer) guarantees total security for electronic commerce on the Web. It provides foolproof encryption, a detailed "audit trail" between a user's browser and any applications running on either the browser or the server, and default notification to the user if there's any insecure "holes" in a page.

But Brian Clark, President of GMD Studios in Orlando, FL, seems to have found evidence to the contrary. During the process of developing software for a client, he came up with a page which is served via SSL and includes a JavaScript program which calls a remote, unsecure CGI URL, passing environment variables. This JavaScript call is loading the .src attribute of an image object:


<SCRIPT LANGUAGE="JavaScript">
<!--

   var imgObj = new Image;
   var ltUrl = "http://www.rankthis.com/cgi-bin/trakker/js_trakker.cgi";
   imgObj.src = /old?u=http%3A%2F%2Fwww.webdeveloper.com%2Fhotstuff%2FltUrl&y=1999 + "?ref=" + document.referrer;

//-->
</SCRIPT>

When he tested the page using Netscape Communicator 4 on Windows 95 and MacOS and Linux, neither provided any warning that an insecure CGI was called from the secure page, though Microsoft Internet Explorer 4.0 for Win95 properly displayed a "secure/insecure mix" warning dialog.

However, see the pages at the following URLs to see examples of how even Internet Explorer fails to always notice the potential security problem with Java applets:

According to Clark, a similar technique (passing information to a CGI program via GET-style encoding in the URL) could be used to lift data (including credit card numbers) from a secure form and deliver it to an outside, insecure server, along with environment variables. He says: "Amazing how fragile the whole SSL thing is, eh? Outside of the <applet> tag, it generates a warning...inside the <applet> tag, it doesn't...despite the fact in both cases there is communication with an insecure server."

We've tested this with Netscape 4.06 and IE 4.0 SP1 on Windows NT 4.0. We'd like to hear from Netscape and Microsoft as to whether they think this is of genuine concern or not. Personally, I may go back to sending checks via carrier pigeon.
-- David Fiedler

Fast Jump to Anywhere on WebDeveloper.com:

Earn cash for Clicks!



Copyright © 1999 internet.com Corporation
All Rights Reserved. Legal Notices.
Contact the WebDeveloper.com staff

Last modified: Wed Sep 22 06:08:16 EDT 1999

http://www.internet.com

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
Design / Graphics
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
Tutorials
VRML / 3D
XML