A flaw was noted in the Apache 2.4.2 release announcement [1] as fixed [2], where insecure handling of LD_LIBRARY_PATH could lead to the current working directory being searched for DSOs. This could lead to the arbitrary execution of code as the user running the httpd server (typically the unprivileged user, apache). This flaw also affects older releases. Red Hat Enterprise Linux and Fedora httpd packages are unaffected due to the httpd-*-apctl.patch being applied (which removes support for reading in the envvars file, where this flaw originates). [1] http://thread.gmane.org/gmane.comp.apache.devel/48158 [2] http://svn.apache.org/viewvc?view=revision&revision=1296428
(In reply to comment #0) > This could lead to the arbitrary execution of code as the user running the > httpd server (typically the unprivileged user, apache). Incorrect LD_LIBRARY_PATH setting is made in apachectl script, which is expected to be run by system administrator. Hence this may allow code execution as root if administrator runs apachectl in an untrusted directory (e.g. /tmp). Statement: Not vulnerable. This issue did not affect the versions of httpd as shipped with Red Hat Enterprise Linux 3, 4, 5 and 6.
This issue has been addressed in following products: JBoss Enterprise Application Platform 6.0.1 Via RHSA-2012:1594 https://rhn.redhat.com/errata/RHSA-2012-1594.html