Skip to content
Heist/ feed
Back to feed
HighFix available

cacti — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-39357

Cacti is an open source operational monitoring and fault management framework. A defect in the sql_save function was discovered. When the column type is numeric, the sql_save function directly utilizes user input. Many files and functions calling the sql_save function do not perform prior validation of user input, leading to the existence of multiple SQL injection vulnerabilities in Cacti. This allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
cacti
Affected versions
1.2.24+ds1-1
Fixed versions
1.2.24+ds1-1+deb12u1, 1.2.25+ds1-1
CVEs
CVE-2023-39357
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:56 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-39357

core-osv · Original source

Published 5 Sept 2023, 22:15 UTC

Cacti is an open source operational monitoring and fault management framework. A defect in the sql_save function was discovered. When the column type is numeric, the sql_save function directly utilizes user input. Many files and functions calling the sql_save function do not perform prior validation of user input, leading to the existence of multiple SQL injection vulnerabilities in Cacti. This allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:DEBIAN-CVE-2023-39357

cacti

Fixed versions: 1.2.24+ds1-1+deb12u1

cacti

Fixed versions: 1.2.25+ds1-1

cacti

Fixed versions: 1.2.25+ds1-1

Complete source record
{
  "id": "5f4c9ae5d1a6ad2f3fedfbe74d9f017da9f161534a2886ef05c2df4fb5403a7d",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-39357",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-39357",
    "summary": "Cacti is an open source operational monitoring and fault management framework. A defect in the sql_save function was discovered. When the column type is numeric, the sql_save function directly utilizes user input. Many files and functions calling the sql_save function do not perform prior validation of user input, leading to the existence of multiple SQL injection vulnerabilities in Cacti. This allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:DEBIAN-CVE-2023-39357",
    "products": [
      {
        "name": {
          "value": "cacti",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.2.24+ds1-1+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.2.24+ds1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cacti",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.2.25+ds1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "cacti",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.2.25+ds1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-39357",
      "aliases": [
        "DEBIAN-CVE-2023-39357"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.24+ds1-1+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "cacti",
            "purl": "pkg:deb/debian/cacti?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.2.24+ds1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.25+ds1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "cacti",
            "purl": "pkg:deb/debian/cacti?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.25+ds1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "cacti",
            "purl": "pkg:deb/debian/cacti?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:30.938936463Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-39357"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-39357"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-39357",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456144,
  "published_at": "2023-09-05T22:15:08.637+00:00"
}