Bug 864566 (CVE-2012-4545)

Summary: CVE-2012-4545 elinks: Improper delegation of client credentials during GSS negotiation
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jrusnack, kdudka, myllynen, ovasik, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20121030,reported=20121004,source=redhat,cvss2=4.3/AV:N/AC:M/Au:N/C:P/I:N/A:N,rhel-5/elinks=affected,rhel-6/elinks=affected,fedora-all/elinks=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-12 01:22:25 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 863066, 891566, 891692, 891693, 891694, 891695    
Bug Blocks: 864574    
Attachments:
Description Flags
Proposed patch from Kamil Dudka to disable credentials delegation during GSS negotiation
none
[PATCH] http_negotiate: do not delegate GSSAPI credentials by default
none
fixes supposed to go out with the security advisory
none
RHEL-5 backport of the upstream security fixes
ovasik: review+
RHEL-6 backport of the upstream security fixes ovasik: review+

Description Jan Lieskovsky 2012-10-09 11:20:09 EDT
It was found that Elinks performed client credentials delegation during the client-to-server GSS security mechanisms negotiation. A remote, rogue server could use this flaw to impersonate the Elinks client (victim) against the correct (originally intended) server, potentially leading to denial of Elinks tool services for victim client.
Comment 1 Jan Lieskovsky 2012-10-09 11:22:07 EDT
This issue affects the versions of the elinks package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue affects the versions of the elinks package, as shipped with Fedora release of 16 and 17.
Comment 2 Jan Lieskovsky 2012-10-09 11:25:16 EDT
This issue was discovered by Marko Myllynen of Red Hat.
Comment 4 Jan Lieskovsky 2012-10-09 11:46:24 EDT
Created attachment 624175 [details]
Proposed patch from Kamil Dudka to disable credentials delegation during GSS negotiation
Comment 7 Kamil Dudka 2012-10-23 07:00:22 EDT
I am working on a new version of the patch, will provide some update shortly.
Comment 8 Kamil Dudka 2012-10-23 08:20:22 EDT
Created attachment 632061 [details]
[PATCH] http_negotiate: do not delegate GSSAPI credentials by default

I have proposed a new version of the patch upstream.
Comment 9 Kamil Dudka 2012-10-25 06:53:45 EDT
Created attachment 633270 [details]
fixes supposed to go out with the security advisory

An upstream patch allowing to configure trusted servers is going to be applied later, together with some other fixes related to the HTTP authentication.
Comment 11 Kamil Dudka 2012-10-29 11:54:03 EDT
Created attachment 635073 [details]
RHEL-5 backport of the upstream security fixes
Comment 12 Kamil Dudka 2012-10-29 11:54:43 EDT
Created attachment 635074 [details]
RHEL-6 backport of the upstream security fixes
Comment 21 Jan Lieskovsky 2013-01-03 05:01:14 EST
Created elinks tracking bugs for this issue

Affects: fedora-all [bug 891566]
Comment 25 Fedora Update System 2013-01-13 23:05:20 EST
elinks-0.12-0.32.pre5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 26 Fedora Update System 2013-01-13 23:19:10 EST
elinks-0.12-0.29.pre5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 30 Murray McAllister 2013-02-05 19:50:04 EST
Acknowledgements:

This issue was discovered by Marko Myllynen of Red Hat.
Comment 31 errata-xmlrpc 2013-02-11 13:13:14 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2013:0250 https://rhn.redhat.com/errata/RHSA-2013-0250.html