Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-34340— Authentication Bypass when using using older password hashes

Quick assessment

Affected
Cacti cacti
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cacti是Cacti团队的一套开源的网络流量监测和分析工具。该工具通过snmpget来获取数据,使用RRDtool绘画图形进行分析,并提供数据和用户管理功能。 Cacti 1.2.27之前版本存在安全漏洞,该漏洞源于存在跨站脚本漏洞。

CVSS 9.1 · Critical EPSS 1.12% · P65
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-34340

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authentication Bypass when using using older password hashes
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Cacti 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cacti是Cacti团队的一套开源的网络流量监测和分析工具。该工具通过snmpget来获取数据,使用RRDtool绘画图形进行分析,并提供数据和用户管理功能。 Cacti 1.2.27之前版本存在安全漏洞,该漏洞源于存在跨站脚本漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
Cacti cacti < 1.2.27 -

II. Public POCs for CVE-2024-34340

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 13134 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-34340

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-34340 (1)

Mailing List Discussions for CVE-2024-34340 (1)

Same Patch Batch · Cacti · 2024-05-13 · 12 CVEs total

CVE-2024-29895 10.0 CRITICAL Cacti command injection in cmd_realtime.php
CVE-2024-25641 9.1 CRITICAL Cacti RCE vulnerability when importing packages
CVE-2024-31445 8.8 HIGH SQL Injection vulnerability in automation_get_new_graphs_sql
CVE-2024-31459 8.1 HIGH Cacti RCE vulnerability by file include in lib/plugin.php
CVE-2024-27082 7.6 HIGH Cacti Cross-site Scripting vulnerability when managing trees
CVE-2024-31460 6.5 MEDIUM Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data s
CVE-2024-30268 6.1 MEDIUM Cacti XSS vulnerability in display_settings
CVE-2024-31443 5.7 MEDIUM Cacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database
CVE-2024-29894 5.4 MEDIUM Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
CVE-2024-31458 4.6 MEDIUM Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data sto
CVE-2024-31444 4.6 MEDIUM Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database

IV. Related Vulnerabilities

V. Comments for CVE-2024-34340

No comments yet


Leave a comment