CVE-2020-12479: TeamPass PHP arbitrary file include vulnerability

nilsteampassnet/teampass Updated 02 Oct 2025

Summary

24/05/2022
No i
High
8.8

CVE-2020-12479: TeamPass PHP arbitrary file include vulnerability. Affects nilsteampassnet/teampass versions < 2.1.27.36. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for nilsteampassnet/teampass.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback