Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 747710 - (CVE-2011-3636) CVE-2011-3636 FreeIPA: CSRF vulnerability
CVE-2011-3636 FreeIPA: CSRF vulnerability
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20111206,repor...
: Security
Depends On: 749870 750617 752226 757883
Blocks: 747715
  Show dependency treegraph
 
Reported: 2011-10-20 16:13 EDT by Vincent Danen
Modified: 2016-03-04 05:48 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker 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-05 20:23:31 EST

  None (edit)
Description Vincent Danen 2011-10-20 16:13:27 EDT
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 16:30:13 EDT
Added Nalin as he is the maintainer of the certmonger package.
Comment 6 Rob Crittenden 2011-10-20 17:42:02 EDT
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 17:43:10 EDT
Created attachment 529394 [details]
Modify certmonger to send Referer header with requests
Comment 11 Rob Crittenden 2011-10-28 11:10:30 EDT
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 10:05:57 EDT
Created attachment 530982 [details]
Final certmonger patch
Comment 32 Tomas Hoger 2011-12-06 03:55:57 EST
Lifting embargo.
Comment 33 errata-xmlrpc 2011-12-06 13:43:23 EST
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 14:05:42 EST
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.