CVE-2024-43371 Potential access to sensitive URLs via CKAN extensions (SSRF)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Network Appliances
Description
CKAN is an open-source data management system for powering data hubs and data portals. There are a number of CKAN plugins, including XLoader, DataPusher, Resource proxy and ckanext-archiver, that work by downloading the contents of local or remote files in order to perform some actions with their contents (e.g. pushing to the DataStore, streaming contents or saving a local copy). All of them use the resource URL, and there are currently no checks to limit what URLs can be requested. This means that a malicious (or unaware) user can create a resource with a URL pointing to a place where they should not have access in order for one of the previous tools to retrieve it (known as a Server Side Request Forgery). Users wanting to protect against these kinds of attacks can use one or a combination of the following approaches: (1) Use a separate HTTP proxy like Squid that can be used to allow / disallow IPs, domains etc as needed, and make CKAN extensions aware of this setting via the ckan.download_proxy config option. (2) Implement custom firewall rules to prevent access to restricted resources. (3) Use custom validators on the resource url field to block/allow certain domains or IPs. All latest versions of the plugins listed above support the ckan.download_proxy settings. Support for this setting in the Resource Proxy plugin was included in CKAN 2.10.5 and 2.11.0.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| okfn ckan | < 2.10.5 | 2.10.5 | Fixed |
| pypi ckan(PyPI) | < 2.10.5; = 0.3; = 0.4; = 0.5 +107 more | 2.10.5 | Fixed |
| ckan | = < 2.10.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ckan(PyPI) | < 2.10.5 | 2.10.5 |
| pypi ckan(PyPI) | = 0.11 | No fix listed |
| pypi ckan(PyPI) | = 0.3 | No fix listed |
| pypi ckan(PyPI) | = 0.4 | No fix listed |
| pypi ckan(PyPI) | = 0.5 | No fix listed |
| pypi ckan(PyPI) | = 0.6 | No fix listed |
| pypi ckan(PyPI) | = 0.7 | No fix listed |
| pypi ckan(PyPI) | = 0.8 | No fix listed |
| pypi ckan(PyPI) | = 1.0 | No fix listed |
| pypi ckan(PyPI) | = 1.1 | No fix listed |
| pypi ckan(PyPI) | = 1.2 | No fix listed |
| pypi ckan(PyPI) | = 1.3 | No fix listed |
| pypi ckan(PyPI) | = 1.3.2 | No fix listed |
| pypi ckan(PyPI) | = 1.3.3 | No fix listed |
| pypi ckan(PyPI) | = 1.4 | No fix listed |
| pypi ckan(PyPI) | = 1.4.1 | No fix listed |
| pypi ckan(PyPI) | = 1.4.2 | No fix listed |
| pypi ckan(PyPI) | = 1.4.3 | No fix listed |
| pypi ckan(PyPI) | = 1.4.3.1 | No fix listed |
| pypi ckan(PyPI) | = 1.5 | No fix listed |
| pypi ckan(PyPI) | = 1.5.1 | No fix listed |
| pypi ckan(PyPI) | = 1.6 | No fix listed |
| pypi ckan(PyPI) | = 1.7 | No fix listed |
| pypi ckan(PyPI) | = 1.7.1 | No fix listed |
| pypi ckan(PyPI) | = 1.8 | No fix listed |
Show 88 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ckan(PyPI) | = 2.0 | No fix listed |
| pypi ckan(PyPI) | = 2.0.1 | No fix listed |
| pypi ckan(PyPI) | = 2.0.7 | No fix listed |
| pypi ckan(PyPI) | = 2.0.8 | No fix listed |
| pypi ckan(PyPI) | = 2.1 | No fix listed |
| pypi ckan(PyPI) | = 2.1.1 | No fix listed |
| pypi ckan(PyPI) | = 2.1.5 | No fix listed |
| pypi ckan(PyPI) | = 2.1.6 | No fix listed |
| pypi ckan(PyPI) | = 2.10.0 | No fix listed |
| pypi ckan(PyPI) | = 2.10.1 | No fix listed |
| pypi ckan(PyPI) | = 2.10.3 | No fix listed |
| pypi ckan(PyPI) | = 2.10.4 | No fix listed |
| pypi ckan(PyPI) | = 2.2 | No fix listed |
| pypi ckan(PyPI) | = 2.2.1 | No fix listed |
| pypi ckan(PyPI) | = 2.2.3 | No fix listed |
| pypi ckan(PyPI) | = 2.2.4 | No fix listed |
| pypi ckan(PyPI) | = 2.3 | No fix listed |
| pypi ckan(PyPI) | = 2.3.1 | No fix listed |
| pypi ckan(PyPI) | = 2.3.2 | No fix listed |
| pypi ckan(PyPI) | = 2.3.3 | No fix listed |
| pypi ckan(PyPI) | = 2.3.4 | No fix listed |
| pypi ckan(PyPI) | = 2.3.5 | No fix listed |
| pypi ckan(PyPI) | = 2.4.0 | No fix listed |
| pypi ckan(PyPI) | = 2.4.1 | No fix listed |
| pypi ckan(PyPI) | = 2.4.2 | No fix listed |
| pypi ckan(PyPI) | = 2.4.3 | No fix listed |
| pypi ckan(PyPI) | = 2.4.4 | No fix listed |
| pypi ckan(PyPI) | = 2.4.5 | No fix listed |
| pypi ckan(PyPI) | = 2.4.8 | No fix listed |
| pypi ckan(PyPI) | = 2.4.9 | No fix listed |
| pypi ckan(PyPI) | = 2.5.0 | No fix listed |
| pypi ckan(PyPI) | = 2.5.1 | No fix listed |
| pypi ckan(PyPI) | = 2.5.2 | No fix listed |
| pypi ckan(PyPI) | = 2.5.3 | No fix listed |
| pypi ckan(PyPI) | = 2.5.4 | No fix listed |
| pypi ckan(PyPI) | = 2.5.6 | No fix listed |
| pypi ckan(PyPI) | = 2.5.7 | No fix listed |
| pypi ckan(PyPI) | = 2.5.8 | No fix listed |
| pypi ckan(PyPI) | = 2.5.9 | No fix listed |
| pypi ckan(PyPI) | = 2.6.0 | No fix listed |
| pypi ckan(PyPI) | = 2.6.1 | No fix listed |
| pypi ckan(PyPI) | = 2.6.3 | No fix listed |
| pypi ckan(PyPI) | = 2.6.4 | No fix listed |
| pypi ckan(PyPI) | = 2.6.5 | No fix listed |
| pypi ckan(PyPI) | = 2.6.6 | No fix listed |
| pypi ckan(PyPI) | = 2.6.7 | No fix listed |
| pypi ckan(PyPI) | = 2.6.8 | No fix listed |
| pypi ckan(PyPI) | = 2.6.9 | No fix listed |
| pypi ckan(PyPI) | = 2.7.0 | No fix listed |
| pypi ckan(PyPI) | = 2.7.1 | No fix listed |
| pypi ckan(PyPI) | = 2.7.10 | No fix listed |
| pypi ckan(PyPI) | = 2.7.11 | No fix listed |
| pypi ckan(PyPI) | = 2.7.12 | No fix listed |
| pypi ckan(PyPI) | = 2.7.2 | No fix listed |
| pypi ckan(PyPI) | = 2.7.3 | No fix listed |
| pypi ckan(PyPI) | = 2.7.4 | No fix listed |
| pypi ckan(PyPI) | = 2.7.5 | No fix listed |
| pypi ckan(PyPI) | = 2.7.6 | No fix listed |
| pypi ckan(PyPI) | = 2.7.7 | No fix listed |
| pypi ckan(PyPI) | = 2.7.8 | No fix listed |
| pypi ckan(PyPI) | = 2.7.9 | No fix listed |
| pypi ckan(PyPI) | = 2.8.0 | No fix listed |
| pypi ckan(PyPI) | = 2.8.1 | No fix listed |
| pypi ckan(PyPI) | = 2.8.10 | No fix listed |
| pypi ckan(PyPI) | = 2.8.11 | No fix listed |
| pypi ckan(PyPI) | = 2.8.12 | No fix listed |
| pypi ckan(PyPI) | = 2.8.2 | No fix listed |
| pypi ckan(PyPI) | = 2.8.3 | No fix listed |
| pypi ckan(PyPI) | = 2.8.4 | No fix listed |
| pypi ckan(PyPI) | = 2.8.5 | No fix listed |
| pypi ckan(PyPI) | = 2.8.6 | No fix listed |
| pypi ckan(PyPI) | = 2.8.7 | No fix listed |
| pypi ckan(PyPI) | = 2.8.8 | No fix listed |
| pypi ckan(PyPI) | = 2.8.9 | No fix listed |
| pypi ckan(PyPI) | = 2.9.0 | No fix listed |
| pypi ckan(PyPI) | = 2.9.1 | No fix listed |
| pypi ckan(PyPI) | = 2.9.10 | No fix listed |
| pypi ckan(PyPI) | = 2.9.11 | No fix listed |
| pypi ckan(PyPI) | = 2.9.2 | No fix listed |
| pypi ckan(PyPI) | = 2.9.3 | No fix listed |
| pypi ckan(PyPI) | = 2.9.4 | No fix listed |
| pypi ckan(PyPI) | = 2.9.5 | No fix listed |
| pypi ckan(PyPI) | = 2.9.6 | No fix listed |
| pypi ckan(PyPI) | = 2.9.7 | No fix listed |
| pypi ckan(PyPI) | = 2.9.8 | No fix listed |
| pypi ckan(PyPI) | = 2.9.9 | No fix listed |
| ckan | = < 2.10.5 | No fix listed |
| okfn ckan | < 2.10.5 | 2.10.5 |
References
- https://github.com/ckan/ckan/security/advisories/GHSA-g9ph-j5vj-f8wm vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- pypi.org product
- github.com vendor-advisory