POJIA破甲
地图 / Remote Command Execution in a internal server to get the flag file

Remote Command Execution in a internal server to get the flag file

代码执行 / 操作系统命令注入 / #415682

厂商
h1-5411-CTF
严重程度
高危
赏金
—
弱点
操作系统命令注入
研究员
@manoelt
披露日期
2018-10-22
资产
—
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

Potential pre-auth RCE on Twitter VPNX / xAI · 2019-08-10 · $20,160Exposed Kubernetes API - RCE/Exposed CredsSnapchat · 2021-07-29 · $25,000Webshell via File Upload on ecjobs.starbucks.com.cnStarbucks · 2019-11-13🐞 OS Command Injection at https://sea-web.gold.razer.com/lab/ws-lookup via IP parameterRazer · — · $2,000RCE via github importGitLab · 2022-11-16RCE using bash command injection on /system/images (toimitilat.lahitapiola.fi)LocalTapiola · —