A command injection can be achieved by users that are able commit files in a Git repo.
Impact
An attacker could use this vulnerability to execute code on the server as the codendiadm user.
CVSSv3 score: 8.8 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Exploitation
- Create a repo
- Create a file named | echo Tuleap > ${PATH:0:1}tmp${PATH:0:1}injectpoc, commit and push the file to the repo you have created
- Access to the file history with the web Git browser
- A file /tmp/injectpoc is created
References
CVE-2017-1000214
CWE-78