gsd-2023-34468
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution. The resolution validates the Database URL and rejects H2 JDBC locations. You are recommended to upgrade to version 1.22.0 or later which fixes this issue.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-34468",
    "id": "GSD-2023-34468"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-34468"
      ],
      "details": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n",
      "id": "GSD-2023-34468",
      "modified": "2023-12-13T01:20:30.923885Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2023-34468",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Apache NiFi",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_name": "0.0.2",
                          "version_value": "1.21.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Apache Software Foundation"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "Matei \"Mal\" Badanoiu"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n"
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.1.0-dev"
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-94",
                "lang": "eng",
                "value": "CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://nifi.apache.org/security.html#CVE-2023-34468",
            "refsource": "MISC",
            "url": "https://nifi.apache.org/security.html#CVE-2023-34468"
          },
          {
            "name": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
            "refsource": "MISC",
            "url": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2023/06/12/3",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2023/06/12/3"
          },
          {
            "name": "http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html",
            "refsource": "MISC",
            "url": "http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html"
          },
          {
            "name": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/",
            "refsource": "MISC",
            "url": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/"
          }
        ]
      },
      "source": {
        "defect": [
          "NIFI-11653"
        ],
        "discovery": "EXTERNAL"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[0.0.2,1.22.0)",
          "affected_versions": "All versions starting from 0.0.2 before 1.22.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937",
            "CWE-94"
          ],
          "date": "2023-06-21",
          "description": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n",
          "fixed_versions": [
            "1.22.0"
          ],
          "identifier": "CVE-2023-34468",
          "identifiers": [
            "GHSA-xm2m-2q6h-22jw",
            "CVE-2023-34468"
          ],
          "not_impacted": "All versions before 0.0.2, all versions starting from 1.22.0",
          "package_slug": "maven/org.apache.nifi/nifi-dbcp-base",
          "pubdate": "2023-06-12",
          "solution": "Upgrade to version 1.22.0 or above.",
          "title": "Improper Control of Generation of Code (\u0027Code Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-34468",
            "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
            "https://nifi.apache.org/security.html#CVE-2023-34468",
            "https://github.com/apache/nifi/pull/7349",
            "https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361",
            "https://issues.apache.org/jira/browse/NIFI-11653",
            "http://www.openwall.com/lists/oss-security/2023/06/12/3",
            "https://github.com/advisories/GHSA-xm2m-2q6h-22jw"
          ],
          "uuid": "53519110-82b3-4f17-b800-5eaa151c0bf3"
        },
        {
          "affected_range": "[0.0.2,1.22.0)",
          "affected_versions": "All versions starting from 0.0.2 before 1.22.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937",
            "CWE-94"
          ],
          "date": "2023-06-21",
          "description": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n",
          "fixed_versions": [
            "1.22.0"
          ],
          "identifier": "CVE-2023-34468",
          "identifiers": [
            "GHSA-xm2m-2q6h-22jw",
            "CVE-2023-34468"
          ],
          "not_impacted": "All versions before 0.0.2, all versions starting from 1.22.0",
          "package_slug": "maven/org.apache.nifi/nifi-hikari-dbcp-service",
          "pubdate": "2023-06-12",
          "solution": "Upgrade to version 1.22.0 or above.",
          "title": "Improper Control of Generation of Code (\u0027Code Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-34468",
            "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
            "https://nifi.apache.org/security.html#CVE-2023-34468",
            "https://github.com/apache/nifi/pull/7349",
            "https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361",
            "https://issues.apache.org/jira/browse/NIFI-11653",
            "http://www.openwall.com/lists/oss-security/2023/06/12/3",
            "https://github.com/advisories/GHSA-xm2m-2q6h-22jw"
          ],
          "uuid": "f015bf77-f112-4a6f-9637-600e64db4785"
        },
        {
          "affected_range": "[0.0.2,1.22.0)",
          "affected_versions": "All versions starting from 0.0.2 before 1.22.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937",
            "CWE-94"
          ],
          "date": "2023-06-21",
          "description": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n",
          "fixed_versions": [
            "1.22.0"
          ],
          "identifier": "CVE-2023-34468",
          "identifiers": [
            "CVE-2023-34468"
          ],
          "not_impacted": "All versions before 0.0.2, all versions starting from 1.22.0",
          "package_slug": "maven/org.apache.nifi/nifi",
          "pubdate": "2023-06-12",
          "solution": "Upgrade to version 1.22.0 or above.",
          "title": "Improper Control of Generation of Code (\u0027Code Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-34468",
            "https://nifi.apache.org/security.html#CVE-2023-34468",
            "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
            "http://www.openwall.com/lists/oss-security/2023/06/12/3"
          ],
          "uuid": "f7e92c3b-b343-467f-83e7-7aadcedd9a47"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.22.0",
                "versionStartIncluding": "0.0.2",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@apache.org",
          "ID": "CVE-2023-34468"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.\n\n\n"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-94"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://nifi.apache.org/security.html#CVE-2023-34468",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Vendor Advisory"
              ],
              "url": "https://nifi.apache.org/security.html#CVE-2023-34468"
            },
            {
              "name": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Vendor Advisory"
              ],
              "url": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8"
            },
            {
              "name": "http://www.openwall.com/lists/oss-security/2023/06/12/3",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2023/06/12/3"
            },
            {
              "name": "http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html"
            },
            {
              "name": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2023-10-03T15:44Z",
      "publishedDate": "2023-06-12T16:15Z"
    }
  }
}


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.