Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515826 (CVE-2014-4668) - <www-servers/cherokee-1.2.104: authentication bypass when LDAP server allows unauthenticated binds (CVE-2014-4668)
Summary: <www-servers/cherokee-1.2.104: authentication bypass when LDAP server allows ...
Status: RESOLVED FIXED
Alias: CVE-2014-4668
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: http://seclists.org/oss-sec/2014/q2/698
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 07:39 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2016-03-19 07:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-06-30 07:39:24 UTC
Matthew Daley reported the following flaw in ${URL}:
Cherokee supports authenticating users via LDAP. It does
not ensure that users provide a non-empty password when doing so. If
the underlying LDAP server allows unauthenticated binds (see RFC 4513,
section 5.1.2: <http://tools.ietf.org/html/rfc4513#section-5.1.2>), an
unauthenticated bind will be performed and not the name/password-based
authenticated bind that Cherokee is expecting. This success of this
bind will cause Cherokee to authenticate the user. This allows an
attacker to authenticate as a user for which they only know the
username and not the password.

Affected versions: current releases (<= 1.2.103)

Upstream fix:
https://github.com/cherokee/webserver/commit/fbda667221c51f0aa476a02366e0cf66cb012f88
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-01-11 19:02:53 UTC
CVE-2014-4668 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-4668):
  The cherokee_validator_ldap_check function in validator_ldap.c in Cherokee
  1.2.103 and earlier, when LDAP is used, does not properly consider
  unauthenticated-bind semantics, which allows remote attackers to bypass
  authentication via an empty password.
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2016-03-19 07:05:43 UTC
1.2.104 is in the tree and all vulnerable versions were removed.

commit 15f426d9bcbb3ec26e6ceb2e544bd31a993036bd
Author: Anthony G. Basile <blueness@gentoo.org>
Date:   Sun Oct 11 21:03:19 2015 -0400

    www-servers/cherokee: remove older 1.2.103 version
    
    Package-Manager: portage-2.2.20.1