+ All Categories
Home > Documents > PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc ....

PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc ....

Date post: 26-Oct-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
9
Advanced XXE Exploitation Exercise 3: PHP filter encoding (App port 8023) Philippe Arteau GoSecure Countertack 19/06/2019 Slides: http://bit.ly/xxeparis
Transcript
Page 1: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

Advanced XXE ExploitationExercise 3: PHP filter encoding (App port 8023)

Philippe ArteauGoSecure Countertack

19/06/2019Slides: http://bit.ly/xxeparis

Page 2: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.
Page 3: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

Allow the extraction of binary file

SVN metadata(older version : .svn/entries)

Page 4: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

1. Ctrl-Shift-B

2. Grep or Open in SQLite Other file versionned

Page 5: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

Use the same method use to read SVN metadata to read this PHP file

Page 6: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.
Page 7: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.
Page 8: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

Can you find how to get RCE using the PHP script?

Page 9: PHP filter encoding2019/06/19  · atom in a few seconds Edit View Language Logout / .svn/wc . Control Panel XML File 2 4 6 16 feed [ xxe SYSTEM < feed> " php: / / filter/ convert.

QuestionS ?

[email protected]/blog/@h3xStream @GoSecure_Inc


Recommended