CVE Vulnerabilities

CVE-2019-17358

Deserialization of Untrusted Data

Published: Dec 12, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Cacti through 1.2.7 is affected by multiple instances of lib/functions.php unsafe deserialization of user-controlled data to populate arrays. An authenticated attacker could use this to influence object data values and control actions taken by Cacti or potentially cause memory corruption in the PHP module.

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
CactiCacti*1.2.7 (including)
CactiUbuntubionic*
CactiUbuntudisco*
CactiUbuntueoan*
CactiUbuntuesm-apps/bionic*
CactiUbuntuesm-apps/xenial*
CactiUbuntuesm-infra-legacy/trusty*
CactiUbuntugroovy*
CactiUbuntutrusty*
CactiUbuntutrusty/esm*
CactiUbuntuupstream*
CactiUbuntuxenial*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References