CVE catalog

CVE-2024-34340

Cacti vulnerabilities

[CVE catalog]

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, Cacti calls `compat_password_hash` when users set their password. `compat_password_hash` use `password_hash` if there is it, else use `md5`. When verifying password, it calls `compat_password_verify`. In `compat_password_verify`, `password_verify` is called if there is it, else use `md5`. `password_verify` and `password_hash` are supported on PHP < 5.5.0, following PHP manual. The vulnerability is in `compat_password_verify`. Md5-hashed user input is compared with correct password in database by `$md5 == $hash`. It is a loose comparison, not `===`. It is a type juggling vulnerability. Version 1.2.27 contains a patch for the issue.

Severity
Critical · CVSS 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.12% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "cacti",
      "status": "fixed",
      "release": "sid",
      "version": "1.2.31+ds1-4"
    },
    {
      "name": "cacti",
      "status": "fixed",
      "release": "forky",
      "version": "1.2.31+ds1-4"
    },
    {
      "name": "cacti",
      "status": "fixed",
      "release": "trixie",
      "version": "1.2.30+ds1-1"
    },
    {
      "name": "cacti",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.2.24+ds1-1+deb12u5"
    },
    {
      "name": "cacti",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "1.2.24+ds1-1+deb12u5"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.27+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.27+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.27+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.24+ds1-1+deb12u3"
    }
  ],
  "distribution_packages": [
    {
      "name": "cacti",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.2.26+ds1-1ubuntu0.1"
    },
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.38+ds1-1ubuntu0.1~esm3"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.1.18+ds1-1",
        "1.1.27+ds1-2",
        "1.1.27+ds1-3",
        "1.1.28+ds1-2",
        "1.1.35+ds1-1",
        "1.1.36+ds1-1",
        "1.1.38+ds1-1",
        "1.1.38+ds1-1ubuntu0.1~esm1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.1.38+ds1-1ubuntu0.1~esm3",
      "provider_record_id": "UBUNTU-CVE-2024-34340"
    },
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.10+ds1-1ubuntu1.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.2.4+ds1-2ubuntu3",
        "1.2.9+ds1-1ubuntu1",
        "1.2.9+ds1-1ubuntu2",
        "1.2.10+ds1-1ubuntu1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.2.10+ds1-1ubuntu1.1",
      "provider_record_id": "UBUNTU-CVE-2024-34340"
    },
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.19+ds1-2ubuntu1.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.2.16+ds1-2ubuntu1",
        "1.2.19+ds1-2ubuntu1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.2.19+ds1-2ubuntu1.1",
      "provider_record_id": "UBUNTU-CVE-2024-34340"
    },
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.26+ds1-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.2.25+ds1-2",
        "1.2.26+ds1-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.2.26+ds1-1ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2024-34340"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [cacti]Unknown
    Details (4)
    • 1.2.24+ds1-1+deb12u5 · all · bookworm

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      usn · cacti · debian · bookworm; usn · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      usn · cacti · debian · bookworm; usn · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm-security

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      usn · cacti · debian · bookworm; usn · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm-security

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      usn · cacti · debian · bookworm; usn · cacti · debian · 12

[Debian 13 (Trixie)]

  • [cacti]Unknown
    Details (2)
    • 1.2.30+ds1-1 · all · trixie

      Fixed · Fixed: 1.2.27+ds1-1

      usn · cacti · debian · 13

    • 1.2.30+ds1-1 · all · trixie

      Fixed · Fixed: 1.2.27+ds1-1

      usn · cacti · debian · 13

Observed:

References