OpenBSD Journal

[Patch 014] httpd

Contributed by jose on from the SPARC64-only dept.

A bug has been fixed in the in-tree Apache server which affected access controls. This only affects the Sparc64 platform , so if you are running an OpenBSD web server on i386 or PPC you are ok, it appears. From the OpenBSD errata site :
Due to a bug in the parsing of Allow/Deny rules for httpd(8)'s access module, using IP addresses without a netmask on big endian 64-bit platforms causes the rules to fail to match. This only affects sparc64.
This is also known by the CVE candidate name CAN-2003-0993 .

Patches areavailable:

ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.4/common/014_httpd2.patch
ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.3/common/019_httpd2.patch

(Comments are closed)


Comments
  1. By dlg () dlg@dorkzilla.org on http://www.dorkzilla.org/~dlg

    If this is truly a sparc64 bug only, what's it doing in the 'common' folder on the ftp sites?

    Comments
    1. By Anonymous Coward () on

      It's a bug, even ONLY in sparc64 it can be a problem.

      Comments
      1. By bdge () on

        yes, but is listed in "all architectures"

        I can't understand why.

        There are other specific sections...

        Comments
        1. By jose () on http://monkey.org/~jose/

          it's not in an architecture specific part of the tree, in a nutshell.

          Comments
          1. By Brad () brad at comstyle dot com on mailto:brad at comstyle dot com

            What Jose said is correct and was the reasoning behind putting the patch in the common area as opposed to the sparc64 area. I know it can be a little bit confusing like this.

            Comments
            1. By bdge () on

              got it ;)

  2. By Anonymous Coward () on

    What about Alpha? 64-bit... big-endian...? Do
    we need to upgrade ASAP?

    Comments
    1. By Brad () brad at comstyle dot com on mailto:brad at comstyle dot com

      alpha and amd64 (just as another example) are both 64-bit little endian. sparc64 and powerpc64/hppa64 (if we had such ports) are 64-bit big endian.

  3. By Jedi/Sector One () j@pureftpd.org on http://www.pureftpd.org/

    Is the vanilla Apache also vulnerable to this flaw or does it only affect OpenBSD ?

    Comments
    1. By Anonymous Coward () on

      Vanilla Apache is also affected. See, e.g. http://www.apacheweek.com/features/security-13

      Comments
      1. By Jedi/Sector One () j@pureftpd.org on http://www.pureftpd.org

        Well done Claudio and Henning :)

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]