CVE-2019-16774 Object injection in cookie driver
An attacker can achieve code execution via object injection in the cookie driver of the phpfastcache library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-16774?
CVE-2019-16774 is a medium-severity unsafe deserialization vulnerability in PHPSocialNetwork phpfastcache, published on 12 Dec 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In phpfastcache before 5.1.3, there is a possible object injection vulnerability in cookie driver.
Which versions are affected by CVE-2019-16774?
2 open source packages ship an affected version, including phpfastcache/phpfastcache. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
phpfastcache/phpfastcache Packagist | From 5.0.0 | 5.0.13 |
phpfastcache/phpfastcache Packagist | From 5.0.0 | 5.0.13 |
Products include Phpfastcache Phpfastcache.
How do I fix CVE-2019-16774?
Upgrade phpfastcache/phpfastcache to 5.0.13 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2019-16774 being exploited?
There is no known exploitation of CVE-2019-16774 in the wild and no public exploit code.
Other vulnerabilities in PHPSocialNetwork phpfastcache
Sources
Also known as GHSA-484f-743f-6jx2.