Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-31460

published medium CVSS 3.1 · 6.5

Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database

Published
13 May 2024, 15:14:38 UTC
Updated
04 Nov 2025, 16:12:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Cacti — cacti< 1.2.27 Affected Not stated GitHub_M
cacti — cacti- to < 1.2.27 · Other versions: unknown Affected Not stated CISA-ADP
Alpine Linux edge cacti Fixed 1.2.27-r0 Package fix record
Debian bullseye cacti Advisory build 1.2.16+ds1-2+deb11u4 DLA-3884-1
SUSE / openSUSE openSUSE-Leap-15.5 cactinoarch Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
Ubuntu bionic cacti Advisory build 1.1.38+ds1-1ubuntu0.1~esm3 USN-6969-1
Alpine Linux v3.19 cacti Fixed 1.2.27-r0 Package fix record
Alpine Linux v3.20 cacti Fixed 1.2.27-r0 Package fix record
Show 22 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.21 cacti Fixed 1.2.27-r0 Package fix record
Alpine Linux v3.22 cacti Fixed 1.2.27-r0 Package fix record
Alpine Linux v3.23 cacti Fixed 1.2.27-r0 Package fix record
Alpine Linux v3.24 cacti Fixed 1.2.27-r0 Package fix record
SUSE / openSUSE openSUSE-Leap-15.6 cactinoarch Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1
SUSE / openSUSE openSUSE-Tumbleweed cactiaarch64 Advisory build 1.2.27-1.1 OPENSUSE-SU-2024:13962-1
SUSE / openSUSE openSUSE-Tumbleweed cactippc64le Advisory build 1.2.27-1.1 OPENSUSE-SU-2024:13962-1
SUSE / openSUSE openSUSE-Tumbleweed cactis390x Advisory build 1.2.27-1.1 OPENSUSE-SU-2024:13962-1
SUSE / openSUSE openSUSE-Tumbleweed cactix86_64 Advisory build 1.2.27-1.1 OPENSUSE-SU-2024:13962-1
Ubuntu focal cacti Advisory build 1.2.10+ds1-1ubuntu1.1 USN-6969-1
Ubuntu jammy cacti Advisory build 1.2.19+ds1-2ubuntu1.1 USN-6969-1
Ubuntu noble cacti Advisory build 1.2.26+ds1-1ubuntu0.1 USN-6969-1
SUSE / openSUSE openSUSE-Leap-15.5 cacti-spineaarch64 Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
SUSE / openSUSE openSUSE-Leap-15.5 cacti-spinei586 Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
SUSE / openSUSE openSUSE-Leap-15.5 cacti-spineppc64le Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
SUSE / openSUSE openSUSE-Leap-15.5 cacti-spines390x Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
SUSE / openSUSE openSUSE-Leap-15.5 cacti-spinex86_64 Advisory build 1.2.27-bp155.2.9.1 OPENSUSE-SU-2024:0274-1
SUSE / openSUSE openSUSE-Leap-15.6 cacti-spineaarch64 Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1
SUSE / openSUSE openSUSE-Leap-15.6 cacti-spinei586 Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1
SUSE / openSUSE openSUSE-Leap-15.6 cacti-spineppc64le Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1
SUSE / openSUSE openSUSE-Leap-15.6 cacti-spines390x Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1
SUSE / openSUSE openSUSE-Leap-15.6 cacti-spinex86_64 Advisory build 1.2.27-bp156.2.3.1 OPENSUSE-SU-2024:0276-1

Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the SQL statement in `create_all_header_nodes()` function from `lib/api_automation.php` , finally resulting in SQL injection. Using SQL based secondary injection technology, attackers can modify the contents of the Cacti database, and based on the modified content, it may be possible to achieve further impact, such as arbitrary file reading, and even remote code execution through arbitrary file writing. Version 1.2.27 contains a patch for the issue.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Cacti cacti < 1.2.27 (affected) GitHub_M · cna
cacti cacti - to < 1.2.27 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (GitHub_M · cna)

References

4

Provider assertions

3

GitHub_M · cna

Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
22ee12bb3996ef373e774a38431f9c3cdde2c0e960532a7cd387a06e350b7f15
Ingested
23 Sep 2026, 08:22:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected