Technical article 125873

What is SCOSA-2004.13, concerning "squid %-encoded characters in a URL"?

OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%00") character, which causes Squid to use only a portion of the requested URL when comparing it against the access control lists.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0189 to this issue.

Solution

______________________________________________________________________________
SCO Security Advisory
Subject:                OpenServer 5.0.6 OpenServer 5.0.7 : squid %-encoded
characters in a URL
Advisory number:        SCOSA-2004.13
Issue date:             2004 August 31
Cross reference:        sr890342 fz529456 erg712609 CAN-2004-0189
______________________________________________________________________________
1. Problem Description

The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%00") character, which causes Squid to use only a portion of the requested URL when comparing it against the access control lists.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0189 to this issue.

2. Vulnerable Supported Versions
System                          Binaries
----------------------------------------------------------------------
OpenServer 5.0.6                Squid distribution < 2.5.STABLE5
OpenServer 5.0.7                Squid distribution < 2.5.STABLE5
3. Solution

The proper solution is to install the latest packages.

4. OpenServer 5.0.6
4.1 First install oss646c or later
4.2 Location of oss646c
https://ftp.scoexpert.com/openserver5/oss646c/
4.3 Verification of oss646c

MD5 (VOL.000.000) = f19b6c6949f615316bfb075d249989e8 MD5 (VOL.000.001) = 341ff8553aecd2c7b0c2beaf83030d0f MD5 (VOL.000.002) = 6e46708ad8029e12280d4f9ac60ab814 MD5 (VOL.000.003) = 2868b64a6a6db742adb3b485be645d7e MD5 (VOL.000.004) = 1696fe1db9bb063827ee5e76e58dff84 MD5 (VOL.000.005) = f39da342f8af72fcaccdf478dca04109 MD5 (VOL.000.006) = 2b31611c8af7d2e7910d6e8e3cf701a6 MD5 (VOL.000.007) = d0175c0f4e3ed29435b1eab95609f8f4 MD5 (VOL.000.008) = aa9e8a525c341fed077f981b1dacb486 MD5 (VOL.000.009) = 8e023af67b57507824406bdda322079a MD5 (VOL.000.010) = 2b46e8adba8ae0b64109f2069da978a2

4.4 Installation of oss646c
See https://ftp.scoexpert.com/openserver5/oss646c/oss646c.txt
4.5 Next install xorg-6.7.0Ba or later
4.6 Location of xorg-6.7.0Ba
https://ftp.scoexpert.com/openserver5/opensrc/xorg-6.7.0Ba/
4.7 Verification of xorg-6.7.0Ba

MD5 (VOL.000.000) = 289d1070c4135e4d25a20501dbca08d8 MD5 (VOL.000.001) = 4111dadf961d4ef88e89112070f3e811 MD5 (VOL.000.002) = 4c4cdf4bf4c28045b7b323cfa407829f MD5 (VOL.000.003) = d7e8da318d1c4df6fff14f60d993cf45 MD5 (VOL.000.004) = bfc0571f1fededd1780fafa76db9be90

4.8 Installation of xorg-6.7.0Ba
See https://ftp.scoexpert.com/openserver5/opensrc/xorg-6.7.0Ba/xorg67_rn.txt
4.9 Next install gwxlibs-1.3.3Db or later
4.10 Location of gwxlibs-1.3.3Db
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2004.10
4.11 Verification

MD5 (VOL.000.000) = a85cf35c417903522392064aaa98f0a4 MD5 (VOL.000.001) = d4383d6bc74bb6e873e7a4c8dfdc4e6b MD5 (VOL.000.002) = c5657b1358ef96177ae15fdcfec7132f MD5 (VOL.000.003) = 4c88ceb3502330b4c4d5e07ca7fc5214

4.12 Installation of gwxlibs-1.3.3Db
See https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2004.10/SCOSA-2004.10.txt
4.13 Next install perl-5.8.4Aa or later
4.14 Location of perl-5.8.4Aa
https://ftp.scoexpert.com/openserver5/opensrc/perl-5.8.4Aa/
4.15 Verification

MD5 (VOL.000.000) = b83b5e0ae513a1cb206baf37c4741653 MD5 (VOL.000.001) = 1ab35276079e7661e38b72047cec488a MD5 (VOL.000.002) = 64a76371eae54e95d0b7e99be25f0a8a MD5 (VOL.000.003) = 724521beddc740ae4958fd63d1c45f3f MD5 (VOL.000.004) = f1d631477f16ce7b9512fbe60d9e3d0e

4.16 Installation of perl-5.8.4Aa
See https://ftp.scoexpert.com/openserver5/opensrc/perl-5.8.4Aa/perl584_rn.txt
4.17 Location of Squid Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2004.13
4.18 Verification

MD5 (VOL.000.000) = 656d0097b861d9e2375f672579e15c6b MD5 (VOL.000.001) = 4f15cb68083fb6ceff3dd3c72aed41a2 MD5 (VOL.000.002) = 6fbf1b23e9d86f621de916bca4e476b3 MD5 (VOL.000.003) = fefcfc2f2d4f56e8be34d917a882bd41

md5 is available for download from
        https://ftp.scoexpert.com/security/tools
4.19 Installing Fixed Binaries

Upgrade the affected binaries with the following sequence:

1) Download the VOL* files to a directory.

2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

5. OpenServer 5.0.7
5.1 Location of Fixed Binaries
Supplement CD 3
http://www.sco.com/support/update/download/osr507list.html
5.2 Verification
MD5 (osr507suppcd3.iso) = 129229594bd3a020db429e7de8b95def
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
5.3 Installing Fixed Binaries
See the Supplement CD 3 Release Notes
https://ftp.scoexpert.com/openserver5/507/iso/suppcd3/osr507suppcd3.txt
6. References
Specific references for this advisory:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0189
        http://xforce.iss.net/xforce/xfdb/15366
SCO security resources:
        http://www.sco.com/support/security/index.html
SCO security advisories via email
        http://www.sco.com/support/forums/security.html

This security fix closes SCO incidents sr890342 fz529456 erg712609.

7. Disclaimer

SCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.

From the Xinuos technical article database, record 125873. Reproduced with permission. The original is at www.sco.com/ta/125873, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.