SB2017111504 - Multiple vulnerabilities in Cacti
Published: November 15, 2017 Updated: December 7, 2017
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2017-16785)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data via the PATH_INFO to host.php.. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) OS command injection (CVE-ID: CVE-2017-16641)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/U:Amber
The vulnerability allows a remote high-privileged attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to an error in lib/rrd.php. A remote attacker can place the Log Path under the web root, make a specially crafted specially crafted action=save request containing the 'path_rrdtool' parameter to settings.php and execute arbitrary shell commands with elevated privileges.
Successful exploitation of the vulnerability may result in system compromise.
3) Remote code execution (CVE-ID: CVE-2017-16660)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/U:Amber
The vulnerability allows a remote high-privileged attacker to execute arbitrary code on the target system.
The vulnerability exists due to an error in the Client-ip header in remote_agent.php. A remote attacker can place the Log Path under the web root, make a specially crafted remote_agent.php request containing PHP code in a Client-ip header and execute arbitrary code with elevated privileges.
4) Information disclosure (CVE-ID: CVE-2017-16661)
CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote high-privileged attacker to obtain potentially sensitive information.
The vulnerability exists due to improper validation of user-supplied requests. A remote attacker can place the Log Path into a private directory, make a specially crafted clog.php?filename= request and read /etc/passwd.
Remediation
Install update from vendor's website.