CVE-2025-24372 (GCVE-0-2025-24372)
Vulnerability from cvelistv5
Published
2025-02-05 18:12
Modified
2025-02-05 19:27
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Summary
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`
Impacted products
Vendor Product Version
ckan ckan Version: < 2.10.7
Version: >= 2.11.0, < 2.11.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-24372",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-05T19:27:18.347178Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-05T19:27:38.534Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "ckan",
          "vendor": "ckan",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.10.7"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.11.0, \u003c 2.11.2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-05T18:12:09.355Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww"
        },
        {
          "name": "https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8"
        },
        {
          "name": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes"
        },
        {
          "name": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types"
        },
        {
          "name": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes"
        },
        {
          "name": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types"
        }
      ],
      "source": {
        "advisory": "GHSA-7pq5-qcp6-mcww",
        "discovery": "UNKNOWN"
      },
      "title": "XSS vector in user uploaded images in group/org and user profiles in ckan"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-24372",
    "datePublished": "2025-02-05T18:12:09.355Z",
    "dateReserved": "2025-01-20T15:18:26.991Z",
    "dateUpdated": "2025-02-05T19:27:38.534Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-24372\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2025-02-05T19:15:46.010\",\"lastModified\":\"2025-02-05T19:15:46.010\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`\"},{\"lang\":\"es\",\"value\":\"CKAN es un DMS (gesti\u00f3n de datos sistema) de c\u00f3digo abierto para alimentar centros de datos y portales de datos. Mediante un archivo manipulado especial, un usuario podr\u00eda cargar un archivo que contenga c\u00f3digo que, al ejecutarse, podr\u00eda enviar solicitudes arbitrarias al servidor. Si un administrador abriera ese archivo, podr\u00eda provocar una escalada de privilegios del remitente original u otras acciones maliciosas. Los usuarios deben haberse registrado en el sitio para explotar esta vulnerabilidad. Esta vulnerabilidad se ha corregido en CKAN 2.10.7 y 2.11.2. Se recomienda a los usuarios que actualicen. En versiones anteriores a CKAN 2.10.7 y 2.11.2, los encargados del mantenimiento del sitio pueden restringir los tipos de archivos admitidos para la carga mediante las opciones de configuraci\u00f3n `ckan.upload.user.mimetypes` / `ckan.upload.user.types` y `ckan.upload.group.mimetypes` / `ckan.upload.group.types`. Para deshabilitar por completo la carga de archivos, los usuarios pueden usar: `ckan.upload.user.types = none`\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N\",\"baseScore\":7.3,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.1,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"references\":[{\"url\":\"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww\",\"source\":\"security-advisories@github.com\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-24372\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-05T19:27:18.347178Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-05T19:27:33.327Z\"}}], \"cna\": {\"title\": \"XSS vector in user uploaded images in group/org and user profiles in ckan\", \"source\": {\"advisory\": \"GHSA-7pq5-qcp6-mcww\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"ckan\", \"product\": \"ckan\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 2.10.7\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.11.0, \u003c 2.11.2\"}]}], \"references\": [{\"url\": \"https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww\", \"name\": \"https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8\", \"name\": \"https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes\", \"name\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types\", \"name\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes\", \"name\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types\", \"name\": \"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-79\", \"description\": \"CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2025-02-05T18:12:09.355Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-24372\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-05T19:27:38.534Z\", \"dateReserved\": \"2025-01-20T15:18:26.991Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2025-02-05T18:12:09.355Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…