vendor:
Apache HTTP Server
by:
halfdog
7,5
CVSS
HIGH
Invalid Free
415
CWE
Product Name: Apache HTTP Server
Affected Version From: 2.2.0
Affected Version To: 2.2.20
Patch Exists: YES
Related CWE: N/A
CPE: a:apache:http_server:2.2.0
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: All
2011
Apache Scoreboard Invalid Free On Shutdown
A child process can trigger the bug by changing the value of ap_scoreboard_e sb_type, which resides in the global_score structure on the shared memory segment. The value is usually 2 (SB_SHARED). When changing the scoreboard type of a shared memory segment to something else, the root process will try to release the shared memory using free during normal shutdown. Since the memory was allocated using mmap, not malloc, the call to free from ap_cleanup_scoreboard (server/scoreboard.c) triggers abort within libc.
Mitigation:
Upgrade to Apache 2.2.21 or later.