CVE-2022-25510: FreeTAKServer Hard Coded Credentials Vulnerability
HIGHCVE-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
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).
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.
pip install FreeTAKServer>=1.9.8.5
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
CVE-2022-25510 Affected FreeTAKServer Versions
1 component(s)| 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?
Which FreeTAKServer versions are affected?
What version fixes CVE-2022-25510?
Is FreeTAKServer affected?
What is the CVSS score of CVE-2022-25510?
What CWE is associated with CVE-2022-25510?
How can I check PyPI dependencies for CVE-2022-25510?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}