Advisory

UBUNTU-CVE-2024-31445

Also known as: CVE-2024-31445

Summary

The record has no summary.

Details

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in automation_get_new_graphs_sql function of api_automation.php allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In api_automation.php line 856, the get_request_var('filter') is being concatenated into the SQL statement without any sanitization. In api_automation.php line 717, The filter of 'filter' is FILTER_DEFAULT, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-05-14 15:25 UTC
Modified
2026-02-04 02:42 UTC

Affected packages and fixes

cacti

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.2.10+ds1-1ubuntu1.1 (ecosystem)

Fixed versions

1.2.10+ds1-1ubuntu1.1

Fix

  • Fixed version 1.2.10+ds1-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.2.19+ds1-2ubuntu1.1 (ecosystem)

Fixed versions

1.2.19+ds1-2ubuntu1.1

Fix

  • Fixed version 1.2.19+ds1-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.2.26+ds1-1ubuntu0.1 (ecosystem)

Fixed versions

1.2.26+ds1-1ubuntu0.1

Fix

  • Fixed version 1.2.26+ds1-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences