High severity · published Dec 28, 2020
CVE-2020-25507
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
7.8
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TC
Teamwork Cloud · 3ds
18.0 through 19.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-25507
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-25507
community.nomagic.com
https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-installation-t7165.html
Third Party Advisory
https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scripts
Exploit
https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md
sick.codes
https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-which-is-used-by-gov-enterprise-to-design-rockets-missiles-and-satellites
sick.codes
https://sick.codes/sick-2020-002/
web.archive.org
https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCloud185SP1/Installation+on+Centos+7.
