ZeroHour

CVE-2016-4437

KEV PoC large

Unauthenticated RCE via hard-coded cipher key in Apache Shiro 'remember me'

CISA: Apache Shiro Code Execution Vulnerability

CVSS 3.1
9.8 critical
EPSS
93%p100
Published
()
KEV added
AI analysis

Apache Shiro versions before 1.2.5 use a hard-coded default cryptographic key (CWE-321) to encrypt the 'remember me' session cookie when administrators have not configured their own key. A remote attacker who knows this default key can craft a malicious remember-me cookie/request parameter containing a crafted serialized Java object, triggering unsafe deserialization that yields arbitrary code execution or a bypass of the application's access restrictions. Successful exploitation gives an unauthenticated attacker control over the affected Java application with the privileges of the application process. Any application embedding a vulnerable Apache Shiro version is affected, including Apache Shiro directly, Apache Aurora, and Red Hat Fuse/JBoss Middleware products that bundle it. The flaw is confirmed exploited in the wild (listed in CISA KEV since 2021-11-03) with a very high predicted exploitation likelihood (EPSS 93.0%, 100th percentile), and a public proof-of-concept exploit is available.

What to do: Upgrade Apache Shiro to 1.2.5 or later, applying the latest available vendor release; if upgrading is not immediately possible, configure a unique, strong cipher key for the remember-me feature rather than relying on the built-in default. Inventory applications that embed Shiro — including Red Hat Fuse, JBoss Middleware, and Apache Aurora deployments — and apply the vendor advisory updates required by the CISA KEV listing. Verify that no deployed application still uses the default remember-me key and monitor for exploitation attempts against internet-facing Java services.

Affected
apache shirobefore 1.2.5
apache aurora
redhat fuse
redhat jboss middleware
Estimated exposure
largeon the order of 100,000+ internet-exposed Java services and embedded deployments (estimate) — Shiro is a widely bundled Java authentication framework (including Red Hat Fuse/JBoss Middleware and Apache Aurora), and public internet-wide scans have repeatedly catalogued roughly a hundred thousand hosts running Shiro-based services,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

CISA Known Exploited Vulnerability
Affected
Apache Shiro
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
apacheredhat
Products
aurora, shiro, fuse, jboss middleware text-only advisories
Weakness
CWE-321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news