Remote Command Execution in a internal server to get the flag file
该报告还没有中文解读。
原文摘录
摘自原文(5059 字符中的一小部分)
**Summary:** After source code disclosure using a LFI vulnerability and using PHP object injection with XXE I was able to find an internal service at port 1337. Using the SSRF through XXE I sent a HTTP request to this internal service and discovered a python object injection using status parameter, …
原文中的代码
import requests
import sys
url = 'http://h1-5411.h1ctf.com/api/'
endpoint = 'generate.php'
headers = {'Cookie':'PHPSESSID=v6a28uv6ad2e9ivr02hajqao4g'}
payload = {'template' : '../../../../../../..'+sys.argv[1], 'type' : 'text', 'top-text' : '.', 'bottom-text' :'.'}
r = …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 h1-5411-CTF 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @manoelt · 版权归作者与 h1-5411-CTF 所有