FreeBSD : squid -- no sanity check of usernames in squid_ldap_auth (7a921e9e-68b1-11d9-9e1e-c296ac722cb3)

High Nessus Plugin ID 18994


The remote FreeBSD host is missing a security-related update.


The LDAP authentication helper did not strip leading or trailing spaces from the login name. According to the squid patches page :

LDAP is very forgiving about spaces in search filters and this could be abused to log in using several variants of the login name, possibly bypassing explicit access controls or confusing accounting.

Workaround: Block logins with spaces

acl login_with_spaces proxy_auth_regex [:space:] http_access deny login_with_spaces


Update the affected package.

See Also

Plugin Details

Severity: High

ID: 18994

File Name: freebsd_pkg_7a921e9e68b111d99e1ec296ac722cb3.nasl

Version: $Revision: 1.15 $

Type: local

Published: 2005/07/13

Modified: 2013/08/09

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:squid, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2005/01/19

Vulnerability Publication Date: 2005/01/10

Reference Information

CVE: CVE-2005-0173

CERT: 924198