CVE catalog

CVE-2023-39359

cacti affected and fixed versions

[CVE catalog]

Cacti is an open source operational monitoring and fault management framework. An authenticated SQL injection vulnerability was discovered which allows authenticated users to perform privilege escalation and remote code execution. The vulnerability resides in the `graphs.php` file. When dealing with the cases of ajax_hosts and ajax_hosts_noany, if the `site_id` parameter is greater than 0, it is directly reflected in the WHERE clause of the SQL statement. This creates an SQL injection vulnerability. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.06% · 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.

Distribution / releasePackageVersionStatusSource
Debiantrixiecacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debiantrixiecacti1.2.30+ds1-1Fixed[CVE-2023-39359]
Debiansidcacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debiansidcacti1.2.31+ds1-4Fixed[CVE-2023-39359]
Debianforkycacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debianforkycacti1.2.31+ds1-4Fixed[CVE-2023-39359]
Debianbookworm-securitycacti1.2.24+ds1-1+deb12u5Fixed[CVE-2023-39359]
Debianbookwormcacti1.2.24+ds1-1+deb12u1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debianbookwormcacti1.2.24+ds1-1+deb12u5Fixed[CVE-2023-39359]

Showing 9 fix observations. All 18 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormcacti1.2.24+ds1-1+deb12u1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debianbookwormcacti1.2.24+ds1-1+deb12u5Fixed[CVE-2023-39359]
Debianbookworm-securitycacti1.2.24+ds1-1+deb12u5Fixed[CVE-2023-39359]
Debianforkycacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debianforkycacti1.2.31+ds1-4Fixed[CVE-2023-39359]
Debiansidcacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debiansidcacti1.2.31+ds1-4Fixed[CVE-2023-39359]
Debiantrixiecacti1.2.25+ds1-1FixedDistribution-reported fixed boundary[CVE-2023-39359]
Debiantrixiecacti1.2.30+ds1-1Fixed[CVE-2023-39359]
Ubuntu24.04cacti1.2.25+ds1-2UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntu24.04cacti1.2.26+ds1-1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntu24.04cacti1.2.26+ds1-1ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.16+ds1-2ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.19+ds1-2ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.19+ds1-2ubuntu1+esm1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.19+ds1-2ubuntu1.1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.19+ds1-2ubuntu1.1+esm1UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
Ubuntuprocacti1.2.19+ds1-2ubuntu1.1+esm2UnknownSource applicability is not established[UBUNTU-CVE-2023-39359]
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.25+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.25+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.25+ds1-1"
    },
    {
      "bug": null,
      "name": "cacti",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.24+ds1-1+deb12u1"
    }
  ],
  "distribution_packages": [
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.2.16+ds1-2ubuntu1",
        "1.2.19+ds1-2ubuntu1",
        "1.2.19+ds1-2ubuntu1+esm1",
        "1.2.19+ds1-2ubuntu1.1",
        "1.2.19+ds1-2ubuntu1.1+esm1",
        "1.2.19+ds1-2ubuntu1.1+esm2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-39359",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2023-39359",
      "provider_updated_at": "2025-10-24T05:02:13Z",
      "applicability_unknown": true
    },
    {
      "name": "cacti",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.2.25+ds1-2",
        "1.2.26+ds1-1",
        "1.2.26+ds1-1ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-39359",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2023-39359",
      "provider_updated_at": "2025-10-24T05:02:13Z",
      "applicability_unknown": true
    }
  ]
}

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+deb12u1

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

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

      Fixed · Fixed: 1.2.24+ds1-1+deb12u1

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

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

      Fixed · Fixed: 1.2.24+ds1-1+deb12u1

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

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

      Fixed · Fixed: 1.2.24+ds1-1+deb12u1

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 1.2.25+ds1-1

      dsa · cacti · debian · 13

    • 1.2.30+ds1-1 · all · trixie

      Fixed · Fixed: 1.2.25+ds1-1

      dsa · cacti · debian · 13

Observed:

References