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 833081 Details for
Bug 1038555
CVE-2013-7041 pam: pam_userdb case insensitive password hash comparison
[?]
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 this vulnerability.
pam_userdb.strncasecmp.patch (text/plain), 623 bytes, created by
Ratul Gupta
on 2013-12-05 10:44:52 UTC
(
hide
)
Description:
Patch for this vulnerability.
Filename:
MIME Type:
Creator:
Ratul Gupta
Created:
2013-12-05 10:44:52 UTC
Size:
623 bytes
patch
obsolete
>diff --git a/modules/pam_userdb/pam_userdb.c b/modules/pam_userdb/pam_userdb.c >index 11b0d6b..37af682 100644 >--- a/modules/pam_userdb/pam_userdb.c >+++ b/modules/pam_userdb/pam_userdb.c >@@ -227,7 +227,11 @@ user_lookup (pam_handle_t *pamh, const char *database, const char *cryptmode, > cryptpw = crypt (pass, salt); > > if (cryptpw) { >- compare = strncasecmp (data.dptr, cryptpw, data.dsize); >+ if (strlen(cryptpw) != data.dsize) { >+ compare = -1; >+ } else { >+ compare = memcmp (data.dptr, cryptpw, data.dsize); >+ } > } else { > compare = -2; > if (ctrl & PAM_DEBUG_ARG) {
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
Actions:
View
|
Diff
Attachments on
bug 1038555
: 833081