Apache Knox Admin API path traversal writes arbitrary files
An authenticated Admin API user can overwrite files the Knox process can write, via an encoded traversal in a name.
Authenticated path traversal file write in Apache Knox Admin API
Apache Knox does not properly limit pathnames in the Admin API. An authenticated Admin API user can supply a URL-encoded path traversal sequence in a topology, provider configuration, or descriptor name and write or overwrite arbitrary files writable by the Knox process. Apache Knox 0.14.0 through 2.1.0 is affected.
What to do: Upgrade Apache Knox to 2.1.1 or 3.0.0.
| Product | Affected | Fixed in |
|---|---|---|
| Apache Knox | 0.14.0 through 2.1.0 | 2.1.1 or 3.0.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Improper limitation of a pathname to a restricted directory in the Apache Knox Admin API allows an authenticated Admin API user to write or overwrite arbitrary files writable by the Knox process. This works by supplying a URL-encoded path traversal sequence in a topology, provider configuration or descriptor name. This issue affects Apache Knox from 0.14.0 through 2.1.0. Users are recommended to upgrade to version 2.1.1 or 3.0.0, which fix the issue.
An authenticated Admin API user can overwrite files the Knox process can write, via an encoded traversal in a name.
Today 365 readers · 395 views · 70 reads · all time 306K views