Bug 1037941 (CVE-2013-6824)

Summary: CVE-2013-6824 zabbix: remote command execution from zabbix server
Product: [Other] Security Response Reporter: Ratul Gupta <ratulg>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brett.lentz, ccoleman, dan, dmcphers, jialiu, lmeyer, nelsonab, tkramer, volker27
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: zabbix 2.0.10, zabbix 1.8.19, zabbix 2.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-18 14:33:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1037942, 1037943, 1037944, 1082436    
Bug Blocks:    

Description Ratul Gupta 2013-12-04 06:10:57 UTC
Zabbix agent is found to be vulnerable to remote command execution from the Zabbix server in some cases.

It is found that if a flexible user parameter is configured in the agent, including a newline in the parameters will execute newline section as a separate command even if UnsafeUserParameters are disabled.

This type of attack is known to be only possible from Zabbix server or Zabbix proxy systems that are explicitly allowed in the agent configuration. Only flexible user parameters are vulnerable, static ones are not.

References:
https://bugs.gentoo.org/show_bug.cgi?id=493250
https://support.zabbix.com/browse/ZBX-7479

Comment 1 Ratul Gupta 2013-12-04 06:13:56 UTC
Created zabbix tracking bugs for this issue:

Affects: fedora-all [bug 1037942]
Affects: epel-all [bug 1037943]

Comment 2 Ratul Gupta 2013-12-04 06:14:12 UTC
Created zabbix20 tracking bugs for this issue:

Affects: epel-all [bug 1037944]