Tuleap <= 7.6-4 (register.php) PHP Object Injection Vulnerability

2014.11.29
Credit: Egidio Romano
Risk: High
Local: No
Remote: Yes
CWE: CWE-94


CVSS Base Score: 6/10
Impact Subscore: 6.4/10
Exploitability Subscore: 6.8/10
Exploit range: Remote
Attack complexity: Medium
Authentication: Single time
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

----------------------------------------------------------------- Tuleap <= 7.6-4 (register.php) PHP Object Injection Vulnerability ----------------------------------------------------------------- [-] Software Links: https://www.tuleap.org/ https://www.enalean.com/ [-] Affected Versions: Version 7.6-4 and prior versions. [-] Vulnerability Description: The vulnerable code is located in the /src/www/project/register.php script: 27. $request = HTTPRequest::instance(); 28. 29. if (Config::get('sys_create_project_in_one_step')) { 30. $router = new Project_OneStepCreation_OneStepCreationRouter( 31. ProjectManager::instance(), 32. new Project_CustomDescription_CustomDescriptionFactory(new Project_CustomDescription ... 33. ); 34. $router->route($request); 35. exit; 36. } 37. 38. $current_step = $request->exist('current_step') ? $request->get('current_step') : 0; 39. $data = $request->exist('data') ? unserialize($request->get('data')) : array(); User input passed through the "data" request parameter is not properly sanitized before being used in a call to the "unserialize()" function at line 39. This can be exploited to inject arbitrary PHP objects into the application scope, and could allow authenticated attackers to execute arbitrary PHP code via specially crafted serialized objects, leveraging the destructor method from the Jabbex class. Successful exploitation of this vulnerability requires the "sys_create_project_in_one_step" option to be disabled. [-] Solution: Update to version 7.7 or later. [-] Disclosure Timeline: [04/11/2014] - Vendor notified [05/11/2014] - Vendor acknowledgement [10/11/2014] - Vendor fixed the issue [11/10/2014] - CVE number requested [13/11/2014] - CVE number assigned [13/11/2014] - Version 7.7 released [27/11/2014] - Public disclosure [-] CVE Reference: The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2014-8791 to this vulnerability. [-] Credits: Vulnerability discovered by Egidio Romano. [-] Original Advisory: http://karmainsecurity.com/KIS-2014-13

References:

http://karmainsecurity.com/KIS-2014-13


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top