Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 710779 Details for
Bug 913751
CVE-2013-0336 389-ds-base: DoS when connecting with a missing username/dn
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for the FreeIPA side of the issue
freeipa-sbose-0109-pa-pwd-extop-do-not-use-dn-until-it-is-really-set.patch (text/plain), 2.39 KB, created by
Sumit Bose
on 2013-03-15 17:32:55 UTC
(
hide
)
Description:
Patch for the FreeIPA side of the issue
Filename:
MIME Type:
Creator:
Sumit Bose
Created:
2013-03-15 17:32:55 UTC
Size:
2.39 KB
patch
obsolete
>From 6e7ef35195ab0e9b93b3b937125c3f9e285219de Mon Sep 17 00:00:00 2001 >From: Sumit Bose <sbose@redhat.com> >Date: Fri, 22 Feb 2013 09:40:35 +0100 >Subject: [PATCH] pa-pwd-extop: do not use dn until it is really set > >--- > .../ipa-pwd-extop/ipa_pwd_extop.c | 40 +++++++++++----------- > 1 file changed, 20 insertions(+), 20 deletions(-) > >diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >index 974eda31889109de80a263d1715e3a194ae431ef..b64084e9d503733a797dacfb06471ad580a0c886 100644 >--- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >+++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >@@ -240,26 +240,6 @@ static int ipapwd_chpwop(Slapi_PBlock *pb, struct ipapwd_krbcfg *krbcfg) > } > > parse_req_done: >- >- if (usetxn) { >- Slapi_DN *sdn = slapi_sdn_new_dn_byref(dn); >- Slapi_Backend *be = slapi_be_select(sdn); >- slapi_sdn_free(&sdn); >- if (be) { >- chpwop_pb = slapi_pblock_new(); >- if (slapi_pblock_set(chpwop_pb, SLAPI_BACKEND, be)) { >- LOG_FATAL("slapi_pblock_set failed!\n"); >- rc = LDAP_OPERATIONS_ERROR; >- goto free_and_return; >- } >- rc = slapi_back_transaction_begin(chpwop_pb); >- if (rc) { >- LOG_FATAL("failed to start transaction\n"); >- } >- } else { >- LOG_FATAL("failed to get be backend from %s\n", dn); >- } >- } > /* Uncomment for debugging, otherwise we don't want to leak the > * password values into the log... */ > /* LDAPDebug( LDAP_DEBUG_ARGS, "passwd: dn (%s), oldPasswd (%s), >@@ -313,6 +293,26 @@ parse_req_done: > goto free_and_return; > } > >+ if (usetxn) { >+ Slapi_DN *sdn = slapi_sdn_new_dn_byref(dn); >+ Slapi_Backend *be = slapi_be_select(sdn); >+ slapi_sdn_free(&sdn); >+ if (be) { >+ chpwop_pb = slapi_pblock_new(); >+ if (slapi_pblock_set(chpwop_pb, SLAPI_BACKEND, be)) { >+ LOG_FATAL("slapi_pblock_set failed!\n"); >+ rc = LDAP_OPERATIONS_ERROR; >+ goto free_and_return; >+ } >+ rc = slapi_back_transaction_begin(chpwop_pb); >+ if (rc) { >+ LOG_FATAL("failed to start transaction\n"); >+ } >+ } else { >+ LOG_FATAL("failed to get be backend from %s\n", dn); >+ } >+ } >+ > /* Now we have the DN, look for the entry */ > ret = ipapwd_getEntry(dn, &targetEntry, attrlist); > /* If we can't find the entry, then that's an error */ >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rcritten
: review+
Actions:
View
|
Diff
Attachments on
bug 913751
:
702805
| 710779