Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262302 (CVE-2009-1902) - <www-apache/mod_security-2.5.9: Two DoS vulnerabilities (CVE-2009-{1902,1903})
Summary: <www-apache/mod_security-2.5.9: Two DoS vulnerabilities (CVE-2009-{1902,1903})
Status: RESOLVED FIXED
Alias: CVE-2009-1902
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://secunia.com/advisories/34256/
Whiteboard: B3 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 20:36 UTC by Alex Legler (RETIRED)
Modified: 2009-07-02 19:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for version 2.5.9 (mod_security-2.5.9.ebuild,1.55 KB, text/plain)
2009-04-13 13:56 UTC, Christoph Loehr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Legler (RETIRED) archtester gentoo-dev Security 2009-03-12 20:36:21 UTC
From Secunia:

Two vulnerabilities have been reported in ModSecurity, which can be
exploited by malicious people to cause a DoS (Denial of Service).

1) An error in the PDF XSS protection implementation can be exploited
to cause a crash via a specially crafted HTTP request.

Successful exploitation requires that PDF XSS protection is enabled
(disabled by default).

2) An error when parsing multipart requests can be exploited to cause
a crash via multipart content with a missing part header name.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-03-12 20:38:22 UTC
chtekk, apache guys: Please bump to 2.5.9.
(http://sourceforge.net/project/shownotes.php?release_id=667542)
Comment 2 Christoph Loehr 2009-04-13 13:56:00 UTC
Created attachment 188238 [details]
ebuild for version 2.5.9

This is my quick and dirty approach for an 2.5.9 ebuild that built fine for me (x86 arch). This is basically the 2.5.7 ebuild with "econf --with-apxs="${APXS}" \" commented out.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-22 19:04:21 UTC
I've added a 2.5.9 ebuild with the proper fix for the broken autotools (also reported upstream).
Comment 4 Tobias Heinlein (RETIRED) gentoo-dev 2009-05-22 19:14:12 UTC
Arches, please test and mark stable:
=www-apache/mod_security-2.5.9
Target keywords : "amd64 ppc sparc x86"
Comment 5 Markus Meier gentoo-dev 2009-05-23 10:24:17 UTC
amd64/x86 stable
Comment 6 Brent Baude (RETIRED) gentoo-dev 2009-05-25 16:14:38 UTC
ppc done
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2009-06-02 16:46:35 UTC
sparc stable
Comment 8 Wintermute 2009-06-03 08:29:24 UTC
ebuild doesn't work for me:

config.status: creating mod_security2_config.h
apxs:Error: Unknown option: s.
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] [-p] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make: *** [mod_security2.la] Fehler 1
 *
 * ERROR: www-apache/mod_security-2.5.9 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2871:  Called die
 * The specific snippet of code:
 *       emake APXS_CFLAGS="${CFLAGS}" APXS_LDFLAGS="${LDFLAGS}" APXS_EXTRA_CFLAGS="${APXS_FLAGS}" || die "emake failed"
 *  The die message:
 *   emake failed
Comment 9 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-06-03 09:20:55 UTC
(In reply to comment #8)
> ebuild doesn't work for me:
> 

Please file a new bug for this.

GLSA voting: I say YES.
Comment 10 Robert Buchholz (RETIRED) gentoo-dev 2009-06-03 10:05:28 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > ebuild doesn't work for me:
> Please file a new bug for this.

.. and mark it as blocking thi bug.
Comment 11 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-06-03 12:45:06 UTC
(In reply to comment #10)
> .. and mark it as blocking thi bug.
> 

bug 272401, already resolved. (Broken LDFLAGS on the user's machine)
Comment 12 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-06-04 13:37:59 UTC
CVE-2009-1902 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1902):
  The multipart processor in ModSecurity before 2.5.9 allows remote
  attackers to cause a denial of service (crash) via a multipart form
  datapost request with a missing part header name, which triggers a
  NULL pointer dereference.

CVE-2009-1903 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1903):
  The PDF XSS protection feature in ModSecurity before 2.5.8 allows
  remote attackers to cause a denial of service (Apache httpd crash)
  via a request for a PDF file that does not use the GET method.

Comment 13 Stefan Behte (RETIRED) gentoo-dev Security 2009-06-12 22:17:31 UTC
Yes, too.
Comment 14 Stefan Behte (RETIRED) gentoo-dev Security 2009-06-23 20:18:10 UTC
Request was filed.
Comment 15 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-07-02 19:39:56 UTC
GLSA 200907-02