Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935427 (CVE-2024-39884) - =www-servers/apache-2.4.60: source code disclosure with handlers configured via AddType
Summary: =www-servers/apache-2.4.60: source code disclosure with handlers configured v...
Status: RESOLVED FIXED
Alias: CVE-2024-39884
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL:
Whiteboard: B3 [glsa+]
Keywords:
Depends on: 936295
Blocks:
  Show dependency tree
 
Reported: 2024-07-03 19:30 UTC by Hans de Graaff
Modified: 2024-09-28 08:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2024-07-03 19:30:48 UTC
A regression in the core of Apache HTTP Server 2.4.60 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted.

Users are recommended to upgrade to version 2.4.61, which fixes this issue.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-22 07:44:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97141c1eea994ed9e282d11a27fb2586112f147c

commit 97141c1eea994ed9e282d11a27fb2586112f147c
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-09-22 07:42:41 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-09-22 07:43:12 +0000

    www-servers/apache: drop 2.4.59-r1, 2.4.59-r3, 2.4.61
    
    Bug: https://bugs.gentoo.org/935427
    Bug: https://bugs.gentoo.org/936257
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 www-servers/apache/Manifest                |   5 -
 www-servers/apache/apache-2.4.59-r1.ebuild | 259 -----------------------------
 www-servers/apache/apache-2.4.59-r3.ebuild | 257 ----------------------------
 www-servers/apache/apache-2.4.61.ebuild    | 257 ----------------------------
 4 files changed, 778 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-09-28 08:02:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=701f541117df26d3da56d8d2563dc70b4fcd5d4f

commit 701f541117df26d3da56d8d2563dc70b4fcd5d4f
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2024-09-28 08:01:45 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-09-28 08:02:03 +0000

    [ GLSA 202409-31 ] Apache HTTPD: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/928540
    Bug: https://bugs.gentoo.org/935296
    Bug: https://bugs.gentoo.org/935427
    Bug: https://bugs.gentoo.org/936257
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 glsa-202409-31.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)