[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Fwd: [e-lang] Protocol implementation errors


RE:  Fwd: [e-lang] Protocol implementation errors


> -----Original Message-----
> From: Rich Salz [mailto:rsalz@d...] 
> Sent: Friday, October 03, 2003 14:56
> To: Alessandro Triglia
> Cc: xml-dev@l...
> Subject: Re:  Fwd: [e-lang] Protocol implementation errors
> 
> 
> > After over 18 months
> > of close scrutiny, no one has been able to report any architectural 
> > flaw in either the ASN.1 notation or any of the standard encoding 
> > rules, which might have increased the risk of program misbehavior.  
> > The standards are innocent.
> 
> That's a pretty broad claim to make, and I'm not so sure I'd go along 
> with that.  I could imagine playing some interesting games with 
> indefinite-form length (or tag) values that get something 
> "interesting" 
> to happen because they cause wrap-around or (for lengths) make the 
> system consume gobs of memory, hang in a network read waiting for the 
> infinite data that will never come, etc.  Did the 
> scrutinizers think of 
> those things?


Last year, for SNMP, someone built large sets of test cases to exercise all
the features of the encoding that they could think of (including the ones
you mention), and many of the SNMP products failed on one or another.  All
of those cases of failure involved some old and buggy implementation of BER,
which nobody had ever bothered to test appropriately until 2002.  The
problems were then fixed, as far as I know.

Alessandro


> 
> In my experience, fixing "too long" errors for XML parsers 
> has to happen 
>   in only one place.  Fixing them for ASN.1/[BDP]ER parsers requires 
> fixing it every time you nest a structure or list.
> 	/r$
> -- 
> Rich Salz, Chief Security Architect
> DataPower Technology                           
> http://www.datapower.com
> XS40 XML Security Gateway   
> http://www.datapower.com/products/xs40.html
> XML Security Overview  
> http://www.datapower.com/xmldev/xmlsecurity.ht> ml
> 
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.