CVE-2022-25511
Description
An issue in the ?filename= argument of the route /DataPackageTable in FreeTAKServer-UI v1.9.8 allows attackers to place arbitrary files anywhere on the system.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
FreeTAKServer-UIPyPI | <= 1.9.8 | — |
Affected products
2- FreeTAKServer-UI/FreeTAKServer-UIdescription
Patches
Vulnerability mechanics
Root cause
"Missing path sanitization in the `?filename=` parameter of `/DataPackageTable` allows directory traversal."
Attack vector
An authenticated attacker sends a crafted multipart POST request to `/DataPackageTable` with a `?filename=` parameter containing `../` sequences (e.g., `../../../../../../../../tmp/file.ext`). The server does not validate or sanitize the path, so the uploaded file content is written to an arbitrary location on the filesystem [ref_id=1]. The attacker must have a valid REST API token (authentication) and network access to the FreeTAKServer-UI web interface [ref_id=1].
Affected code
The route `/DataPackageTable` accepts a `?filename=` argument that is not sanitized for path or filename content [ref_id=1]. The advisory does not specify the exact source file or function name, but the issue resides in the DataPackage upload handler of FreeTAKServer-UI v1.9.8 [ref_id=1].
What the fix does
No patch is included in the bundle. The advisory [ref_id=1] recommends sanitizing the `?filename=` argument to restrict paths to the intended DataPackage upload directory and prevent directory traversal. Until a fix is applied, the vulnerability allows arbitrary file writes, though junk XML appended to the file makes direct code execution difficult [ref_id=1].
Preconditions
- authAttacker must have a valid REST API token (authenticated session).
- networkAttacker must have network access to the FreeTAKServer-UI web interface (default port 19023).
- inputAttacker must supply a `?filename=` parameter with path traversal sequences (e.g., `../../..`).
Reproduction
curl -i -s -k -X POST -H 'Host: atak.FreeTAKServer.com:19023' -H 'Authorization: Bearer ValidRestAPIToken' -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryOUUxfHjKyflBjjhn' -H 'Accept-Encoding: gzip, deflate' --data-binary $'------WebKitFormBoundaryOUUxfHjKyflBjjhn\r\nContent-Disposition: form-data; name="assetfile"; filename="test.ext"\r\nContent-Type: text/plain\r\n\r\nThisIs FromDataPackageTable\r\n\r\n------WebKitFormBoundaryOUUxfHjKyflBjjhn--\r\n' 'http://atak.FreeTAKServer.com:19023/DataPackageTable?filename=../../../../../../../../tmp/file.ext&creator='
Generated on May 27, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
3- github.com/advisories/GHSA-7cr9-rmqr-fpqpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25511ghsaADVISORY
- github.com/FreeTAKTeam/UI/issues/29ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.