CVE-2024-34340

cacti: Cacti provides an operational monitoring and fault management framework

CVE-2024-34340 is fixed in 2 products on 1 platform, first by cacti 1.1.38+ds1-1ubuntu0.1~esm3, released May 14, 2024. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
9.1
critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0112
66th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
cacti · Debian 12.15 (bookworm) 1.2.24+ds1-1+deb12u3 DEBIAN-CVE-2024-34340 May 14, 2024
cacti · Debian 13.5 (trixie) 1.2.27+ds1-1 DEBIAN-CVE-2024-34340 May 14, 2024
cacti · Debian 14 1.2.27+ds1-1 DEBIAN-CVE-2024-34340 May 14, 2024
cacti · Ubuntu 18.04.6 LTS (bionic) 1.1.38+ds1-1ubuntu0.1~esm3 cacti 1.1.38+ds1-1ubuntu0.1~esm3 May 14, 2024
cacti · Ubuntu 20.04 LTS (focal) 1.2.10+ds1-1ubuntu1.1 cacti 1.2.10+ds1-1ubuntu1.1 May 14, 2024
cacti · Ubuntu 22.04.1 LTS (jammy) 1.2.19+ds1-2ubuntu1.1 cacti 1.2.19+ds1-2ubuntu1.1 May 14, 2024
cacti · Ubuntu 24.04.5 LTS (noble) 1.2.26+ds1-1ubuntu0.1 cacti 1.2.26+ds1-1ubuntu0.1 May 14, 2024
cacti · opensuse-leap 15.6 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1 Sep 2, 2024
cacti-spine · opensuse-leap 15.6 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1 Sep 2, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.