Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Best XML library to validate XML from untrusted source

by vsespb (Chaplain)
on Oct 23, 2014 at 12:14 UTC ( #1104762=note: print w/replies, xml ) Need Help??


in reply to Re: Best XML library to validate XML from untrusted source
in thread Best XML library to validate XML from untrusted source

Thank you for all your replies! Very useful. One note:
I don't see how XXE relates to doing XML validation that couldn't be addressed by limiting memory and CPU usage (which you would need to do either way),
XXE not just about DoS. For example I have API which accepts requests over XML.
There is an API function: create object (with user supplied name). And another function: list all objects with its names.
So attacker can create object with name equal to content of /etc/passwd and then list it, this way receive content of /etc/passwd.
imho, pretty common case...
  • Comment on Re^2: Best XML library to validate XML from untrusted source

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1104762]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2019-11-17 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (86 votes). Check out past polls.

    Notices?