shad0w008 / XStreamServer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Java 100.0%