Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2022-46169 →
Unrated

Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected v...

UBUNTU-CVE-2022-46169 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:18.04:LTScacti
< 1.1.38+ds1-1ubuntu0.1~esm4→ 1.1.38+ds1-1ubuntu0.1~esm4
Ubuntu:Pro:20.04:LTScacti
< 1.2.10+ds1-1ubuntu1.1+esm2→ 1.2.10+ds1-1ubuntu1.1+esm2
Ubuntu:Pro:22.04:LTScacti
< 1.2.19+ds1-2ubuntu1.1+esm2→ 1.2.19+ds1-2ubuntu1.1+esm2
Original description The description as published by the source.

Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a specific data source was selected for any monitored device. The vulnerability resides in the remote_agent.php file. This file can be accessed without authentication. This function retrieves the IP address of the client via get_client_addr and resolves this IP address to the corresponding hostname via gethostbyaddr. After this, it is verified that an entry within the poller table exists, where the hostname corresponds to the resolved hostname. If such an entry was found, the function returns true and the client is authorized. This authorization can be bypassed due to the implementation of the get_client_addr function. The function is defined in the file lib/functions.php and checks serval $_SERVER variables to determine the IP address of the client. The variables beginning with HTTP_ can be arbitrarily set by an attacker. Since there is a default entry in the poller table with the hostname of the server running Cacti, an attacker can bypass the authentication e.g. by providing the header Forwarded-For: . This way the function get_client_addr returns the IP address of the server running Cacti. The following call to gethostbyaddr will resolve this IP address to the hostname of…

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details