cve/2020/CVE-2020-25507.md
2024-06-18 02:51:15 +02:00

19 lines
1.3 KiB
Markdown

### [CVE-2020-25507](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25507)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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).
### POC
#### Reference
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2020-002.md
- https://sick.codes/sick-2020-002/
#### Github
No PoCs found on GitHub currently.