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

high Nessus Plugin ID 18994

Synopsis

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

Description

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

Solution

Update the affected package.

See Also

http://www.nessus.org/u?96864d1c

https://bugs.squid-cache.org/show_bug.cgi?id=1187

http://www.nessus.org/u?2e44454a

Plugin Details

Severity: High

ID: 18994

File Name: freebsd_pkg_7a921e9e68b111d99e1ec296ac722cb3.nasl

Version: 1.19

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

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: 1/19/2005

Vulnerability Publication Date: 1/10/2005

Reference Information

CVE: CVE-2005-0173

CERT: 924198