Skip to content
Snippets Groups Projects
  1. Apr 27, 2003
  2. Apr 25, 2003
  3. Apr 24, 2003
  4. Apr 22, 2003
  5. Apr 21, 2003
  6. Apr 17, 2003
    • Neil Graham's avatar
      This commit implements detection of exponential entity · 9daf99e4
      Neil Graham authored
      expansions inside the scanner code.  This is only done when a
      security manager instance has been registered with the parser by
      the application.  The default number of entities which may be
      expanded is 50000; this appears to work very well for SAX, but DOM
      parsing applications may wish to set this limit considerably lower.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174905 13f79535-47bb-0310-9956-ffa450edef68
      9daf99e4
    • Neil Graham's avatar
      Adding a new property, · 99759a8d
      Neil Graham authored
      http://apache.org/xml/properties/security-manager, with
      appropriate getSecurityManager/setSecurityManager methods on DOM
      and SAX parsers.  Also adding a new SecurityManager class.
      
      The purpose of these modifications is to permit applications a
      means to have the parser reject documents whose processing would
      otherwise consume large amounts of system resources.  Malicious
      use of such documents could be used to launch a denial-of-service
      attack against a system running the parser.  Initially, the
      SecurityManager only knows about attacks that can result from
      exponential entity expansion; this is the only known attack that
      involves processing a single XML document.  Other, simlar attacks
      can be launched if arbitrary schemas may be parsed; there already
      exist means (via use of the EntityResolver interface) by which
      applications can deny processing of untrusted schemas.  In future,
      the SecurityManager will be expanded to take these other exploits
      into account.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174904 13f79535-47bb-0310-9956-ffa450edef68
      99759a8d
  7. Apr 15, 2003
  8. Apr 14, 2003
  9. Apr 09, 2003
  10. Apr 07, 2003
  11. Apr 04, 2003
  12. Apr 03, 2003
  13. Apr 02, 2003
Loading