vendor:
Tuleap
by:
EgiX
N/A
CVSS
N/A
Second-Order PHP Object Injection
502
CWE
Product Name: Tuleap
Affected Version From: Tuleap <= 9.6
Affected Version To: Tuleap <= 9.6
Patch Exists: YES
Related CWE: 2017-7411
CPE:
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: PHP
2017
Tuleap 9.6 Second-Order PHP Object Injection
This module exploits a Second-Order PHP Object Injection vulnerability in Tuleap <= 9.6 which could be abused by authenticated users to execute arbitrary PHP code with the permissions of the webserver. The vulnerability exists because of the User::getRecentElements() method is using the unserialize() function with data that can be arbitrarily manipulated by a user through the REST API interface. The exploit's POP chain abuses the __toString() method from the Mustache class to reach a call to eval() in the Transition_PostActionSubFactory::fetchPostActions() method.
Mitigation:
Upgrade to Tuleap version 9.7 or later.