Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS : Cacti vulnerability (USN-7226-1)

critical Nessus Plugin ID 214544

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS host has a package installed that is affected by a vulnerability as referenced in the USN-7226-1 advisory.

It was discovered that Cacti did not properly sanitize the 'poller_id' parameter in the remote_agent.php file. A remote attacker could possibly use this issue to achieve remote code execution.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected cacti package.

See Also

https://ubuntu.com/security/notices/USN-7226-1

Plugin Details

Severity: Critical

ID: 214544

File Name: ubuntu_USN-7226-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 1/23/2025

Updated: 1/24/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-46169

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:cacti, cpe:/o:canonical:ubuntu_linux:22.04:-:lts

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2025

Vulnerability Publication Date: 12/5/2022

CISA Known Exploited Vulnerability Due Dates: 3/9/2023

Exploitable With

Core Impact

Metasploit (Cacti 1.2.22 unauthenticated command injection)

Reference Information

CVE: CVE-2022-46169

USN: 7226-1