CVE-2020-25507
Cameo Enterprise Data Warehouse / TeamworkCloud Root Code Execution 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).
INFO
Published Date :
Dec. 28, 2020, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 5:18 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-25507
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-25507
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-25507
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-installation-t7165.html Added Reference https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scripts Added Reference https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md Added Reference https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-which-is-used-by-gov-enterprise-to-design-rockets-missiles-and-satellites Added Reference https://sick.codes/sick-2020-002/ Added Reference https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCloud185SP1/Installation+on+Centos+7. Added Reference https://web.archive.org/web/20201219155833/https://docs.nomagic.com/pages/viewpage.action?pageId=20846937 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 04, 2021
Action Type Old Value New Value Changed Description An incorrect permission assignment (chmod 777) of /etc/environment during the installation script of No Magic TeamworkCloud 18.0 through 19.0 allows any local unprivileged user to write to /etc/environment. An attacker can escalate to root by writing arbitrary code to this file, which would be executed by root during the next login, reboot, or sourcing of the environment. 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). Added Reference https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCloud185SP1/Installation+on+Centos+7. [No Types Assigned] Added Reference https://web.archive.org/web/20201219155833/https://docs.nomagic.com/pages/viewpage.action?pageId=20846937 [No Types Assigned] Added Reference https://sick.codes/sick-2020-002/ [No Types Assigned] Added Reference https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-installation-t7165.html [No Types Assigned] Added Reference https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-which-is-used-by-gov-enterprise-to-design-rockets-missiles-and-satellites [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 30, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scripts No Types Assigned https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scripts Third Party Advisory Changed Reference Type https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md No Types Assigned https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md Exploit, Third Party Advisory Added CWE NIST CWE-732 Added CPE Configuration OR *cpe:2.3:a:3ds:teamwork_cloud:*:*:*:*:*:*:*:* versions from (including) 18.0 up to (including) 19.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-25507
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-25507
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} -0.01%
score
0.51785
percentile