CVE-2019-7725

includes/core/is_user.php in NukeViet before 4.3.04 deserializes the untrusted nvloginhash cookie (i.e., the code relies on PHP's serialization format when…

published December 31, 2020

CVSS
—
EPSS
3%
Percentile
85.0
In the wild
Unconfirmed
What it is

⚠️ Unchecked cookies are a recipe for disaster! The NukeViet software before version 4.3.04 trusts the nvloginhash cookie without scrutinizing it, like a restaurant accepting a delivery without checking the contents. 🔥 Imagine a restaurant receiving a package of ingredients from a supplier but not inspecting it. If the delivery says it's fresh produce but includes spoiled items, the end dish could be a health hazard! Similarly, the issue here is trusting data that could be tampered with. An attacker could potentially inject malicious data through the nvloginhash cookie, leading to a range of devastating outcomes, from unauthorized access to sensitive user information to complete takeover of user sessions. It's like letting a spoiled ingredient spoil the entire meal served to guests.

Put simply

Imagine a restaurant receiving a package of ingredients from a supplier but not inspecting it. If the delivery says it's fresh produce but includes spoiled items, the end dish could be a health hazard! Similarly, the issue here is trusting data that could be tampered with. This vulnerability comes from improperly deserializing an untrusted nvloginhash cookie in NukeViet, relying on PHP's serialization format instead of a more secure approach like JSON, which would mitigate the risk of injection attacks.

What to do

An attacker could potentially inject malicious data through the nvloginhash cookie, leading to a range of devastating outcomes, from unauthorized access to sensitive user information to complete takeover of user sessions. It's like letting a spoiled ingredient spoil the entire meal served to guests. To patch this, update NukeViet to version 4.3.04 or later immediately. Additionally, consider switching to JSON for serialization of user data to enhance security in the future. Regularly review and audit cookie handling practices across your applications. You've got this! With the right updates and practices, you can keep your applications secure and running smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02566 · 85.0th percentile
Published
2020-12-31T04:19Z
EPSS history
Timeline
  • 31 DEC 04:19Z
    includes/core/is_user.php in NukeViet before 4.3.04 deserializes the untrusted nvloginhash cookie (i.e., the code relies on PHP's serialization format when…
    cvelistv5