An open API service indexing awesome lists of open source software.

https://github.com/pwntester/xstreamserver

RCE Exploit PoC for Spring based RESTFul APIs using XStream as Unmarshaler
https://github.com/pwntester/xstreamserver

Last synced: 9 months ago
JSON representation

RCE Exploit PoC for Spring based RESTFul APIs using XStream as Unmarshaler

Awesome Lists containing this project

README

          

XStreamServer
=============

RCE Exploit PoC for Spring based RESTFul APIs using XStream as Unmarshaler

Start the server using the maven jetty plugin:
mvn -Djetty.port=8080 -DDebug clean jetty:run

Expected use:
curl --header "content-type: application/xml" --data @contact.xml "http://localhost:8080/contacts"

Exploit knowing the interface:
curl --header "content-type: application/xml" --data @exploit.xml "http://localhost:8080/contacts"

Generic Exploit:
curl --header "content-type: application/xml" --data @exploit2.xml "http://localhost:8080/contacts