[PT-2011-02] PHP code Injection in Kayako Support Suite

(PT-2011-02) Positive Technologies Security Advisory
PHP code Injection in Kayako Support Suite

---[ Vulnerable software ]

Kayako Support Suite
Version: 3.70.02-stable and earlier

Application link:

---[ Severity level ]

Severity level: High
Impact: Arbitrary PHP code execution
Access Vector: Network exploitable
CVSS v2:
Base Score: 6.5
Vector: (AV:N/AC:L/Au:S/C:P/I:P/A:P)

CVE: not assigned

---[ Software description ]

Kayako Support Suite is a HelpDesk system.

---[ Vulnerability description ]

Positive Research Center has discovered PHP code injection vulnerability in Kayako Support Suite.

Application insufficiently verifies incoming data received via template editing form.
An attacker with administration privileges can inject arbitrary PHP code via template editing feature with an expression like: <<??arbitary_php_code??>>
Here is an example of URL script used for template editing: http://example.com/support/admin/index.php?_m=core&_a=edittemplate&templateid=11&templateupdate=register
The code is executed as user reqests from the page with modified template.

---[ How to fix ]

Update your software up to the v4

---[ Advisory status ]

25.11.2011 - Vendor is notified
25.11.2011 - Vendor gets vulnerability details
25.08.2011 - Vendor releases fixed version and details
29.12.2011 - Public disclosure

---[ Credits ]

The vulnerability was discovered by Alexander Zaitsev, Positive Research Center (Positive Technologies Company)

---[ References ]


Reports on the vulnerabilities previously discovered by Positive Research:


---[ About Positive Technologies ]

Positive Technologies www.ptsecurity.com is among the key players in the IT security market in Russia.

The principal activities of the company include the development of integrated tools for information security monitoring (MaxPatrol); providing IT security consulting services and technical support; development of the Securitylab leading Russian information security portal.

Among the clients of Positive Technologies, there are more than 40 state enterprises, more than 50 banks and financial organizations, 20 telecommunication companies, more than 40 plant facilities, as well as IT, service and retail companies from Russia, the CIS countries, the Baltic States, China, Ecuador, Germany, Great Britain, Holland, Iran, Israel, Japan, Mexico, the Republic of South Africa, Thailand, Turkey, and the USA.

Positive Technologies is a team of highly skilled developers, advisers and experts with years of vast hands-on experience. The company specialists possess professional titles and certificates; they are the members of various international societies and are actively involved in the IT security field development.