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

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

Name Vendor Start Version End Version
Cacti Cacti * 1.2.7 (including)
Cacti Ubuntu bionic *
Cacti Ubuntu disco *
Cacti Ubuntu eoan *
Cacti Ubuntu esm-apps/bionic *
Cacti Ubuntu esm-apps/xenial *
Cacti Ubuntu esm-infra-legacy/trusty *
Cacti Ubuntu groovy *
Cacti Ubuntu trusty *
Cacti Ubuntu trusty/esm *
Cacti Ubuntu upstream *
Cacti Ubuntu xenial *

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