mod_fcgid: Multiple vulnerabilities — GLSA 201207-09

Multiple vulnerabilities have been found in mod_fcgid, allowing execution of arbitrary code or Denial of Service.

Affected packages

www-apache/mod_fcgid on all architectures
Affected versions < 2.3.7
Unaffected versions >= 2.3.7

Background

mod_fcgid is a binary-compatible alternative to mod_fastcgi with better process management.

Description

Multiple vulnerabilities have been found in mod_fcgid:

  • An error in the "fcgid_header_bucket_read()" function in fcgid_bucket.c could cause a stack-based buffer overflow (CVE-2010-3872).
  • An error in the "is_spawn_allowed() function in fcgid_spawn_ctl.c prevents Apache from recognizing the FcgidMaxProcessesPerClass directive for a virtual host (CVE-2012-1181).

Impact

A local attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition. Furthermore, a remote attacker could send specially crafted HTTP requests, possibly resulting in a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All mod_fcgid users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-apache/mod_fcgid-2.3.7"
 

References

Release date
July 09, 2012

Latest revision
July 09, 2012: 1

Severity
high

Exploitable
local, remote

Bugzilla entries