PoC Monitor
← All CVEs
CVE-2016-4437published 7 Jun 2016 14:00 UTCData: JSON · API

Apache Shiro

Apache Shiro Code Execution Vulnerability

Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.

First public PoC 3.9 yearsafter publication · 27 Apr 2020 · Metasploit
Public PoCs85 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-321
CISA KEV 3 Nov 20215.4 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.apache.shiro:shiro-core (Maven)
  • < 1.2.5

Fixed in 1.2.5

from GitHub Security Advisory GHSA-p836-389h-j692

Mitigation

Upgrade org.apache.shiro:shiro-core to 1.2.5 or later.

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 yCVE published7 Jun 2016 · t = 0First public PoC27 Apr 2020 · t+3.9yAdded to CISA KEV3 Nov 2021 · t+5.4y

First public PoC 3.9 years after publication; added to CISA KEV 5.4 years after publication. First PoC: Metasploit exploit: Apache Shiro v1.2.4 Cookie RememberME Deserial RCE (exploit/multi/http/shiro_rememberme_v124_deserialize) (Metasploit, 27 Apr 2020).

PoC repositories

Found on GitHub.

5 PoCs · 3 pending · 2 informational · 4 suspicious or fake

PoCs 5
RepositoryCreatedFound by usStarsAssessment
pizza-power/CVE-2016-4437 22 Dec 2023 +7.5 y backfilled 2 PoC
xk-mt/CVE-2016-4437 15 Jan 2024 +7.6 y backfilled 0 PoC
35789-gh/cve-2016-4437 19 Feb 2026 +9.7 y backfilled 1 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

CyberCTF/vulhub-shiro-cve-2016-4437 8 Oct 2026 +10.3 y backfilled 0 PoC
nizexu04/work1-api 21 Oct 2026 +10.4 y 14 Nov 2026 0 PoC
Pending 3
RepositoryCreatedStarsAssessment
bkfish/Awesome_shiro 27 May 2020 +4.0 y 55 Pending · repository exceeds size limit
4nth0ny1130/shisoserial 23 Dec 2021 +5.5 y 24 Pending · repository exceeds size limit
KBlackMeow/Matrix 9 Mar 2026 +9.8 y 2 Pending · repository exceeds size limit via PoC Index
Informational 2
RepositoryCreatedStarsAssessment
m3terpreter/CVE-2016-4437 22 Jun 2021 +5.0 y 0 Informational · write-up
Pensa31/Hacker 7 Jun 2025 +9.0 y 0 Informational · write-up
Suspicious or fake 4
RepositoryCreatedStarsAssessment
jas502n/Shiro_Xray 26 Jul 2020 +4.1 y 58 Fake
N0tOd2y/PenForge 2 Sep 2026 +10.2 y 1 Fake
xunjinghan/bounty-forge 13 Oct 2026 +10.3 y 4 Fake
xunwmw/vuln-xiuxian 13 Oct 2026 +10.3 y 4 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. 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.

PoC characteristics

What to hunt for in your logs · from 6 PoC repos

POST /api/posts

Key headers
Authorization: Bearer {var}
Body markers
"title" "content":"<img src=x onerror=alert(2)>" "title":"x" "content":"y" "title":"{var}alert(1)</script>" "content":"<img src=x onerror=alert(1)>" "title":"" "content":"" in application/json
Ports
5000, 8080
Seen in
1 repo: nizexu04/work1-api
Evidence
nizexu04/work1-api/README.md:42 nizexu04/work1-api/tests/test_api.py:109 nizexu04/work1-api/tests/test_api.py:115 nizexu04/work1-api/tests/test_api.py:135

POST /auth/login

Body markers
"login":"alice" "password":"Alice123!x" "login" "password" "login":"' OR '1'='1' --" "password":"anything" in application/json
Ports
5000, 8080
Seen in
1 repo: nizexu04/work1-api
Evidence
nizexu04/work1-api/README.md:29 nizexu04/work1-api/tests/test_api.py:42 nizexu04/work1-api/tests/test_api.py:75

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/(?:[?#].*)?$
GET /api/data
(?i)^/api/data(?:[?#].*)?$
POST /api/posts
(?i)^/api/posts(?:[?#].*)?$
POST /auth/login
(?i)^/auth/login(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [5000,8080] (msg:"GG PoC-Monitor CVE-2016-4437 Apache Shiro exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Cookie: rememberMe="; nocase; http.header; content:"Cookie: rememberMe=isoloom"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2016-4437; classtype:web-application-attack; sid:9351817; rev:1;)
GET /api/data
alert http any any -> $HOME_NET [5000,8080] (msg:"GG PoC-Monitor CVE-2016-4437 Apache Shiro exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/data"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2016-4437; classtype:web-application-attack; sid:9556876; rev:1;)
POST /api/posts
alert http any any -> $HOME_NET [5000,8080] (msg:"GG PoC-Monitor CVE-2016-4437 Apache Shiro exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/posts"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|title|22|"; http.request_body; content:"|22|content|22|:|22|<img src=x onerror=alert(2)>|22|"; http.request_body; content:"|22|title|22|:|22|x|22|"; http.request_body; content:"|22|content|22|:|22|y|22|"; http.request_body; content:"|22|title|22|:|22|"; http.request_body; content:"|22|content|22|:|22|<img src=x onerror=alert(1)>|22|"; http.request_body; content:"|22|title|22|:|22||22|"; http.request_body; content:"|22|content|22|:|22||22|"; reference:url,poc.griffinguard.io/cve/CVE-2016-4437; classtype:web-application-attack; sid:9641045; rev:1;)
POST /auth/login
alert http any any -> $HOME_NET [5000,8080] (msg:"GG PoC-Monitor CVE-2016-4437 Apache Shiro exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/auth/login"; http.request_body; content:"|22|login|22|:|22|alice|22|"; http.request_body; content:"|22|password|22|:|22|Alice123!x|22|"; http.request_body; content:"|22|login|22|"; http.request_body; content:"|22|password|22|"; http.request_body; content:"|22|login|22|:|22|' OR '1'='1' --|22|"; http.request_body; content:"|22|password|22|:|22|anything|22|"; reference:url,poc.griffinguard.io/cve/CVE-2016-4437; classtype:web-application-attack; sid:9746363; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: Apache Shiro exploit attempt (CVE-2016-4437)
id: gg-pocmon-cve-2016-4437-9351817
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-4437. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-4437
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.4437
GET /api/data
title: Apache Shiro exploit attempt (CVE-2016-4437)
id: gg-pocmon-cve-2016-4437-9556876
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-4437. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-4437
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/data'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.4437
POST /api/posts
title: Apache Shiro exploit attempt (CVE-2016-4437)
id: gg-pocmon-cve-2016-4437-9641045
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-4437. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-4437
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/posts'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.4437
POST /auth/login
title: Apache Shiro exploit attempt (CVE-2016-4437)
id: gg-pocmon-cve-2016-4437-9746363
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-4437. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-4437
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/auth/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.4437