Bug 1903727 (CVE-2020-17510)

Summary: CVE-2020-17510 shiro: specially crafted HTTP request may cause an authentication bypass
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aileenc, ataylor, bibryam, chazlett, drieden, extras-orphan, ganandan, ggaughan, gmalinko, gvarsami, hbraun, janstey, java-sig-commits, jcoleman, jjoyce, jochrist, jschluet, jwon, kconner, ldimaggi, lhh, lpeer, mburns, mkolesni, nwallace, pantinor, puntogil, rwagner, sclewis, scohen, slinaber, tcunning, tkirby
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
See Also: https://issues.redhat.com/browse/ENTMQ-2421
https://issues.redhat.com/browse/ENTESB-15408
Whiteboard:
Fixed In Version: shiro 1.7.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Apache shiro. When using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass. This highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-11 19:28:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1903729    

Description Dhananjay Arunesh 2020-12-02 17:22:57 UTC
Apache Shiro before 1.7.0, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.

References:
https://lists.apache.org/thread.html/r95bdf3703858b5f958b5e190d747421771b430d97095880db91980d6@%3Cannounce.apache.org%3E
https://lists.apache.org/thread.html/rc2cff2538b683d480426393eecf1ce8dd80e052fbef49303b4f47171%40%3Cdev.shiro.apache.org%3E

Comment 1 Anten Skrabec 2020-12-02 19:42:14 UTC
Statement:

Whilst the OpenDaylight version that is included in Red Hat OpenStack Platform includes the affected code, the vulnerable function is not used and therefore not exploitable.

Comment 2 Anten Skrabec 2020-12-04 01:37:49 UTC
To further clarify about Red Hat OpenStack Platform, we do not ship the Shiro <-> Spring integration (shiro-spring), only the shiro-core and shiro-web artifacts.

Comment 4 Jonathan Christison 2020-12-04 12:28:05 UTC
Marking Red Hat Fuse 7 as having a low impact, Fuse 7 distributes some shiro artifacts (shiro-core) as part of camel-shiro however these artifacts are not impacted by the vulnerability. 

Marking Red Hat JBoss Fuse 6 as having a moderate impact, Fuse 6 does distribute some shiro artifacts as part of camel-shiro, however these are not affected by the vulnerability, only components using shiro in the context of the web application portion of the shiro framework are affected and only the artifacts org.apache.shiro:shiro-web:*, org.apache.shiro:shiro-spring:*, org.apache.shiro:shiro-guice:* and org.apache.shiro:shiro-all:* are altered in the fix version of shiro (1.6.0)

Red Hat JBoss AMQ-6 does however distribute shiro-spring in error as part of the activemq shiro plugin, the artifact would not be used under normal circumstances and the issue has been marked as moderate because of this, however as a precaution we have requested the superfluous shiro-spring artifact be removed from any deliverables.
 
 This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss Fuse 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 9 errata-xmlrpc 2021-08-11 18:23:34 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.9

Via RHSA-2021:3140 https://access.redhat.com/errata/RHSA-2021:3140

Comment 10 Product Security DevOps Team 2021-08-11 19:28:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-17510