Bug 747710 (CVE-2011-3636) - CVE-2011-3636 FreeIPA: CSRF vulnerability
Summary: CVE-2011-3636 FreeIPA: CSRF vulnerability
Keywords:
Status: NEW
Alias: CVE-2011-3636
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 749870 750617 752226 757883
Blocks: 747715
TreeView+ depends on / blocked
 
Reported: 2011-10-20 20:13 UTC by Vincent Danen
Modified: 2019-09-29 12:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Require a Referer in the server, send one in the clients (8.50 KB, patch)
2011-10-20 21:42 UTC, Rob Crittenden
no flags Details | Diff
Modify certmonger to send Referer header with requests (1.86 KB, patch)
2011-10-20 21:43 UTC, Rob Crittenden
no flags Details | Diff
Updated certmonger patch to address Nalin's concerns (1.92 KB, patch)
2011-10-28 15:10 UTC, Rob Crittenden
no flags Details | Diff
Final certmonger patch (1.21 KB, patch)
2011-10-31 14:05 UTC, Rob Crittenden
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-06 01:23:31 UTC

Description Vincent Danen 2011-10-20 20:13:27 UTC
A Cross-Site Request Forgery (CSRF) flaw was found in FreeIPA due to a lack of checking the Referer Header in the server (it is not set in the CLI utilities).  If a remote attacker could trick a user, who was logged into the FreeIPA management interface, into visiting a specially-crafted URL, the attacker could perform FreeIPA oonfiguration changes with the privileges of the logged in user.

Comment 3 Simo Sorce 2011-10-20 20:30:13 UTC
Added Nalin as he is the maintainer of the certmonger package.

Comment 6 Rob Crittenden 2011-10-20 21:42:02 UTC
Created attachment 529392 [details]
Require a Referer in the server, send one in the clients

The xmlrpc-c api does not seem to provide a way to set arbitrary headers. It does allow you to set the user-agent string though, so we set that with an embedded line-feed (\n) and a Referer entry. It isn't pretty but it works.

Comment 7 Rob Crittenden 2011-10-20 21:43:10 UTC
Created attachment 529394 [details]
Modify certmonger to send Referer header with requests

Comment 11 Rob Crittenden 2011-10-28 15:10:30 UTC
Created attachment 530677 [details]
Updated certmonger patch to address Nalin's concerns

I added #define _GNU_SOURCE so asprintf() gets defined. I think this should be benign but you know certmonger better than I.

Comment 16 Rob Crittenden 2011-10-31 14:05:57 UTC
Created attachment 530982 [details]
Final certmonger patch

Comment 32 Tomas Hoger 2011-12-06 08:55:57 UTC
Lifting embargo.

Comment 33 errata-xmlrpc 2011-12-06 18:43:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1533 https://rhn.redhat.com/errata/RHSA-2011-1533.html

Comment 34 errata-xmlrpc 2011-12-06 19:05:42 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1533 https://rhn.redhat.com/errata/RHSA-2011-1533.html


Note You need to log in before you can comment on or make changes to this bug.