CVE-2015-0231 Use after free in n/a
Remote attackers can execute arbitrary code via crafted serialized data due to a use-after-free flaw in PHP's unserializer.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-0231?
CVE-2015-0231 is a high-severity use after free vulnerability in Php Php, published on 27 Jan 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.
Which versions are affected by CVE-2015-0231?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2015-0231?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2015-0231 being exploited?
There is no known exploitation of CVE-2015-0231 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-5394-7mcx-63pv, UBUNTU-CVE-2015-0231.