CVE-2022-25510: FreeTAKServer Hard Coded Credentials Vulnerability

HIGH
Advisory Identifier: GHSA-f897-875p-23x7
CVSS 8.8
CWE-798
Published
Advisory Summary

CVE-2022-25510 is a HIGH (CVSS 8.8) hard coded credentials vulnerability (CWE-798: Use of Hard-coded Credentials) affecting FreeTAKServer libraries in the PyPI ecosystem. The issue involves hard coded credentials in freetakserver. Remediation is available by upgrading affected packages to version 1.9.8.5.

CVE-2022-25510 at a Glance

CVE Identifier CVE-2022-25510
GHSA Identifier GHSA-f897-875p-23x7
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product FreeTAKServer
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2022-25510

To remediate this vulnerability, upgrade all affected FreeTAKServer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

FreeTAKServer fixed: 1.9.8.5
pip install FreeTAKServer>=1.9.8.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show FreeTAKServer

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2022-25510, inspect your installed packages using pip:

pip show FreeTAKServer

Analyze the terminal output to locate any version of FreeTAKServer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.8.5), your application is affected.

Note: The pip show FreeTAKServer command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In FreeTAKServer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

FreeTAKServer 1.9.8 contains a hardcoded Flask secret key which allows attackers to create crafted cookies to bypass authentication or escalate privileges.

CVE-2022-25510 Affected FreeTAKServer Versions

1 component(s)
Fixed Versions:
1.9.8.5
Product / Package Ecosystem Affected Versions Fixed Version
FreeTAKServer
PyPI
< 1.9.8.5
1.9.8.5

References

Frequently Asked Questions

What is CVE-2022-25510?
CVE-2022-25510 is a security vulnerability in FreeTAKServer involving Hard coded credentials in FreeTAKServer under CWE-798: Use of Hard-coded Credentials.
Which FreeTAKServer versions are affected?
Affected versions include releases prior to 1.9.8.5 across affected packages: FreeTAKServer.
What version fixes CVE-2022-25510?
Upgrading to 1.9.8.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is FreeTAKServer affected?
Yes, FreeTAKServer is affected in releases prior to 1.9.8.5. Upgrade your dependency to 1.9.8.5 or later.
What is the CVSS score of CVE-2022-25510?
CVE-2022-25510 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-25510?
CVE-2022-25510 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check PyPI dependencies for CVE-2022-25510?
Run the dependency tree command: 'pip show FreeTAKServer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f897-875p-23x7",
  "modified" : "2024-11-26T16:14:14Z",
  "published" : "2022-03-12T00:00:37Z",
  "aliases" : [ "CVE-2022-25510" ],
  "summary" : "Hard coded credentials in FreeTAKServer",
  "details" : "FreeTAKServer 1.9.8 contains a hardcoded Flask secret key which allows attackers to create crafted cookies to bypass authentication or escalate privileges.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "FreeTAKServer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.9.8.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.9.8"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-25510"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FreeTAKTeam/FreeTakServer/issues/292"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FreeTAKTeam/FreeTakServer"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/freetakserver/PYSEC-2022-43135.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-14T23:16:48Z",
    "nvd_published_at" : "2022-03-11T00:15:00Z"
  }
}