tinysoft Advisory: squid

Written By
Web Webster
Web Webster
Jun 10, 2004

Security Advisory #2004-010

Package name: squid
Summary: Arbitary Code Execution
Advisory ID: TSSA-2004-010
Date: 2004-06-09
Affected versions: tinysofa enterprise server 1.0 tinysofa
enterprise server 1.0-U1


Security Fixes

Description

squid:

  • Remote exploitation of a buffer overflow vulnerability in Squid
    Web Proxy Cache [0] could allow a remote attacker to execute
    arbitrary code. Squid Web Proxy Cache supports Basic, Digest and
    NTLM authentication. The vulnerability specifically exists within
    the NTLM authentication helper routine, ntlm_check_auth(), located
    in helpers/ntlm_auth/SMB/libntlmssp.c:
    char *ntlm_check_auth(ntlm_authenticate * auth, int auth_length)
    {
        int rv;
        char pass[25] /*, encrypted_pass[40] */;
        char *domain =3D credentials;
        ...
        memcpy(pass, tmp.str, tmp.l);
        ...

The function contains a buffer overflow vulnerability due to a
lack of bounds checking on the values copied to the ‘pass’
variable. Both the ‘tmp.str’ and ‘tmp.l’ variables used in the
memcpy() call contain user-supplied data.

This problem has been assigned the name CAN-2004-0541 [1] by
the=20 Common Vulnerabilities and Exposures (CVE) project.

This problem was first reported by iDEFENSE [2].=20

Advertisement

References

[0] http://http://www.squid-cache.org/

[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2004-0541

[2] http://www.idefense.com/application/poi/display?id=3D107

We recommend that all systems with these packages installed be
upgraded. Please note that if you do not need the functionality
provided by this package, you may want to remove it from your
system.

Location

All tinysofa updates are available from <URI:http://http.tinysofa.org/pub/tinysofa/updates/>

<URI:ftp://ftp.tinysofa.org/pub/tinysofa/updates/>

Automatic Updates

Users of the SWUP tool can enjoy having updates automatically
installed using ‘swup –upgrade’.

Questions?

Check out our mailing lists:
<URI:http://www.tinysofa.org/support/>

Verification

This advisory is signed with the tinysofa security sign key.
This key is available from:
<URI:http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xAEDCBB4B>

All tinysofa packages are signed with the tinysofa stable sign
key. This key is available from:
<URI:http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x0F1240A2>

The advisory is available from the tinysofa errata database at
<URI:http://www.tinysofa.org/support/errata/>

or directly at
<URI:http://www.tinysofa.org/support/errata/2004/010.html>

MD5sums Of The Packages

1fc7bd552435e8c6605d1cdd064d2edc
squid-2.5.STABLE5-6ts.i586.rpm

—
tinysofa Security Team <security at tinysofa dot org>

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.