Advisory

DEBIAN-CVE-2024-34340

Also known as: CVE-2024-34340

Summary

The record has no summary.

Details

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 Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2024-05-14 15:38 UTC
Modified
2026-11-02 12:02 UTC

Affected packages and fixes

cacti

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.2.24+ds1-1+deb12u3 (ecosystem)

Fixed versions

1.2.24+ds1-1+deb12u3

Fix

  • Fixed version 1.2.24+ds1-1+deb12u3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.2.27+ds1-1 (ecosystem)

Fixed versions

1.2.27+ds1-1

Fix

  • Fixed version 1.2.27+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.2.27+ds1-1 (ecosystem)

Fixed versions

1.2.27+ds1-1

Fix

  • Fixed version 1.2.27+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences