Bug 1390526 (CVE-2016-0762)

Summary: CVE-2016-0762 tomcat: timing attack in Realm implementation
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aileenc, alazarot, alee, aszczucz, bbaranow, bmaxwell, ccoleman, cdewolf, chazlett, coolsvap, csutherl, dandread, darran.lofthouse, dedgar, dmcphers, dosoudil, etirelli, fnasser, gvarsami, gzaronik, huwang, ivan.afonichev, jason.greene, java-sig-commits, jawilson, jboss-set, jclere, jcoleman, jdg-bugs, jdoyle, jgoulding, jialiu, joelsmith, jokerman, jolee, jshepherd, krzysztof.daniel, kverlaen, ldimaggi, lgao, lmeyer, mbabacek, mbaluch, mmccomas, mwinkler, myarboro, nwallace, pslavice, psotirop, rnetuka, rrajasek, rsvoboda, rwagner, rzhang, soa-p-jira, tcunning, theute, tkirby, ttarrant, twalsh, vtunka, weli, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tomcat 6.0.47, tomcat 7.0.72, tomcat 8.5.5, tomcat 8.0.37 Doc Type: If docs needed, set a value
Doc Text:
The Realm implementations did not process the supplied password if the supplied user name did not exist. This made a timing attack possible to determine valid user names. Note that the default configuration includes the LockOutRealm which makes exploitation of this vulnerability harder.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 10:53:04 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: 1390531, 1390532, 1390533, 1393227, 1393228    
Bug Blocks: 1376651, 1390534, 1415638, 1428325    

Description Martin Prpič 2016-11-01 10:05:46 UTC
The following flaw was found in Tomcat:

The Realm implementations did not process the supplied password if the supplied user name did not exist. This made a timing attack possible to determine valid user names. Note that the default configuration includes the LockOutRealm which makes exploitation of this vulnerability harder.

Upstream patches:

6.0.47: https://svn.apache.org/viewvc?view=revision&revision=1758506
7.0.72: https://svn.apache.org/viewvc?view=revision&revision=1758502
8.5.5: https://svn.apache.org/viewvc?view=revision&revision=1758500
8.0.37: https://svn.apache.org/viewvc?view=revision&revision=1758501

External References:

https://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.47
https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.72
https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.5_and_8.0.37

Comment 2 Martin Prpič 2016-11-01 10:25:06 UTC
Created tomcat tracking bugs for this issue:

Affects: fedora-all [bug 1390532]
Affects: epel-6 [bug 1390533]

Comment 6 errata-xmlrpc 2017-03-07 19:09:57 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3.1.0

Via RHSA-2017:0457 https://rhn.redhat.com/errata/RHSA-2017-0457.html

Comment 7 errata-xmlrpc 2017-03-07 19:14:30 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 7

Via RHSA-2017:0456 https://access.redhat.com/errata/RHSA-2017:0456

Comment 8 errata-xmlrpc 2017-03-07 19:19:02 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 6

Via RHSA-2017:0455 https://access.redhat.com/errata/RHSA-2017:0455

Comment 9 errata-xmlrpc 2017-08-01 23:20:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2247 https://access.redhat.com/errata/RHSA-2017:2247

Comment 10 Joshua Padman 2019-05-16 03:44:55 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat JBoss Operations Network 3
 * Red Hat JBoss Data Grid 6
 * Red Hat JBoss BRMS 5
 * Red Hat JBoss Data Virtualization & Services 6
 * Red Hat JBoss Fuse Service Works 6

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