Information Disclosure in mod_wsgi via Use-After-Free
CVE-2014-0242 is a vulnerability in the mod_wsgi module for Apache HTTP Server, affecting versions prior to 3.4 when used in embedded mode. The vulnerability arises from a use-after-free condition where the Content-Type header may be generated from memory that has already been freed and potentially overwritten by another thread. This can result in the exposure of sensitive information from memory to remote attackers.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Remote attackers may be able to obtain sensitive information from server memory, potentially including data from other requests or internal server state, by exploiting the use-after-free condition in the Content-Type header generation.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, consider running mod_wsgi in daemon mode instead of embedded mode, as the vulnerability is only present in embedded mode. Additionally, restrict access to the affected service to trusted users until a patch can be applied.
Patch, then assume compromise.
Upgrade mod_wsgi to version 3.4 or later, where the use-after-free condition in embedded mode has been addressed.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.