CVE-2020-12479: TeamPass PHP arbitrary file include vulnerability
Summary
CVE-2020-12479: TeamPass PHP arbitrary file include vulnerability. Affects nilsteampassnet/teampass versions < 2.1.27.36. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
TeamPass is a password management system that allows users to securely store and share passwords. It is written in PHP and is available as a package on Packagist. The vulnerability in question, identified as CVE-2020-12479, affects TeamPass version 2.1.27.36. This vulnerability allows any authenticated TeamPass user to trigger a PHP file include vulnerability by exploiting a directory traversal flaw in the sources/users.queries.php file.
Vulnerability Detail
The vulnerability arises due to insufficient input validation in the sources/users.queries.php file. By crafting a malicious HTTP request, an authenticated user can manipulate the 'newValue' parameter to perform directory traversal and include arbitrary PHP files. This can lead to remote code execution, allowing an attacker to execute arbitrary code on the server and potentially gain unauthorized access to sensitive information. The severity of this vulnerability is rated as HIGH with a CVSS score of 8.8.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can temporarily disable the affected functionality or restrict access to the vulnerable file. However, applying the official patch or upgrading to a secure version is the recommended solution.
Conclusion
In conclusion, the TeamPass PHP arbitrary file include vulnerability (CVE-2020-12479) allows authenticated users to exploit a directory traversal flaw and execute arbitrary PHP code on the server. This can lead to unauthorized access to sensitive information. It is crucial for users to update their TeamPass installations to a secure version or apply the provided patch to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for nilsteampassnet/teampass →
FAQ
TeamPass is a password management system that allows users to securely store and share passwords.
This vulnerability allows authenticated users to execute arbitrary code on the server, potentially leading to unauthorized access to sensitive information.
To fix this vulnerability, it is recommended to upgrade to a version of TeamPass that includes a patch for this issue.
Users can temporarily disable the affected functionality or restrict access to the vulnerable file as a workaround.
The severity of this vulnerability is rated as HIGH with a CVSS score of 8.8.
References
Related vulnerabilities
Recent vulnerabilities recorded for nilsteampassnet/teampass.