Vulnerability Description
An incorrect permission assignment during the installation script of TeamworkCloud 18.0 thru 19.0 allows a local unprivileged attacker to execute arbitrary code as root. During installation, the user is instructed to set the system enviroment file with world writable permissions (0777 /etc/environment). Any local unprivileged user can execute arbitrary code simply by writing to /etc/environment, which will force all users, including root, to execute arbitrary code during the next login or reboot. In addition, the entire home directory of the twcloud user at /home/twcloud is recursively given world writable permissions. This allows any local unprivileged attacker to execute arbitrary code, as twcloud. This product was previous named Cameo Enterprise Data Warehouse (CEDW).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| 3Ds | Teamwork Cloud | >= 18.0, <= 19.0 |
Related Weaknesses (CWE)
References
- https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-insta
- https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scriptsThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.mdExploitThird Party Advisory
- https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-
- https://sick.codes/sick-2020-002/
- https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCl
- https://web.archive.org/web/20201219155833/https://docs.nomagic.com/pages/viewpa
- https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-insta
- https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scriptsThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.mdExploitThird Party Advisory
- https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-
- https://sick.codes/sick-2020-002/
- https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCl
- https://web.archive.org/web/20201219155833/https://docs.nomagic.com/pages/viewpa
FAQ
What is CVE-2020-25507?
CVE-2020-25507 is a vulnerability with a CVSS score of 7.8 (HIGH). An incorrect permission assignment during the installation script of TeamworkCloud 18.0 thru 19.0 allows a local unprivileged attacker to execute arbitrary code as root. During installation, the user ...
How severe is CVE-2020-25507?
CVE-2020-25507 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-25507?
Check the references section above for vendor advisories and patch information. Affected products include: 3Ds Teamwork Cloud.