Next in thread → Next in month →

RE: [xml-dev] XML processor attacks

From
Richard Salz <>
To
Shlomo Yona <>
Date
2007-01-31T19:26:59Z
ID
<>
Thread
RE: [xml-dev] XML processor attacks
It's pretty easy to cause a denial of service with short messages such as 
a million elements deep:
        <x><x><x><x><x><x>....</x></x>
Or badly fragmented:
  <x><y>.</y><y>.</y>....</x>
Maximum element, attribute or namespace prefix name
  <xxx...  xxx...='...' xmlns:xxx...='...'
Excessively long attribute or namespace values (the '...' above)
Excessive attributes or namespace declarations
 <x a1='.' a2='.' a3='.' ...

Schema validation won't save you as long as there's an xs:any extension 
point in the schema.

The key point here is that these attacks are asymmetric -- it's trivial to 
generate these with print statements, but the recipient has to expend a 
lot of horsepower.

        /r$

--
STSM
Senior Security Architect
DataPower SOA Appliances
Next in thread → Next in month →