Skip to content
Heist/ feed
Back to feed
Medium

Nextcloud Server DNS pin middleware can be tricked into DNS rebinding allowing SSRF

Type: advisorySources: OSV

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and starting in version 22.0.0 and prior to versions 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Enterprise Server, the DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result. Nextcloud Server 25.0.11, 26.0.6, and 27.1.0 and Nextcloud Enterprise Server 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 contain patches for this issue. No known workarounds are available.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-48306
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:23 UTC · Revision 1

Source evidence

Nextcloud Server DNS pin middleware can be tricked into DNS rebinding allowing SSRF

core-osv · Original source

Published 21 Nov 2023, 22:20 UTC

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and starting in version 22.0.0 and prior to versions 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Enterprise Server, the DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result. Nextcloud Server 25.0.11, 26.0.6, and 27.1.0 and Nextcloud Enterprise Server 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 contain patches for this issue. No known workarounds are available.

osv:CVE-2023-48306
Complete source record
{
  "id": "62c5e003b0cb055e128d9c55d7a81d9c385d6e3a35c195fd906b190ed8dd8c9a",
  "url": "https://osv.dev/vulnerability/CVE-2023-48306",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nextcloud Server DNS pin middleware can be tricked into DNS rebinding allowing SSRF",
    "summary": "Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and starting in version 22.0.0 and prior to versions 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Enterprise Server, the DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result. Nextcloud Server 25.0.11, 26.0.6, and 27.1.0 and Nextcloud Enterprise Server 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 contain patches for this issue. No known workarounds are available.",
    "evidence": "osv:CVE-2023-48306",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-48306",
      "aliases": [
        "CVE-2023-48306",
        "GHSA-8f69-f9jg-4x3v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "20ea9a25353129b56d46951fe7d23939665ab2b2"
                },
                {
                  "fixed": "97d754dcf1aa3f166ead03a9f6a9165270c73647"
                },
                {
                  "introduced": "62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d"
                },
                {
                  "fixed": "1f6197544b21d1dc9d4cae54a5311b5992e666c6"
                },
                {
                  "introduced": "add4e4365a4040d2e4e6aa79c0d03c3edd78583c"
                },
                {
                  "fixed": "4ff639eb51629cded66eeef2f4cf56a4c4a81984"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "25.0.0"
                      },
                      {
                        "fixed": "25.0.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "25.0.0"
                      },
                      {
                        "fixed": "25.0.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "26.0.0"
                      },
                      {
                        "fixed": "26.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "26.0.0"
                      },
                      {
                        "fixed": "26.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "27.0.0"
                      },
                      {
                        "fixed": "27.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "27.0.0"
                      },
                      {
                        "fixed": "27.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v27.1.0rc4",
            "v27.1.0rc3",
            "v25.0.11rc1",
            "v26.0.6rc1",
            "v27.1.0rc2",
            "v27.1.0rc1",
            "v27.1.0beta3",
            "v27.1.0beta2",
            "v25.0.10",
            "v26.0.5",
            "v27.0.2",
            "v25.0.10rc1",
            "v26.0.5rc1",
            "v27.0.2rc1",
            "v25.0.9",
            "v26.0.4",
            "v27.0.1",
            "v25.0.9rc2",
            "v26.0.4rc2",
            "v27.0.1rc2",
            "v26.0.4rc1",
            "v27.0.1rc1",
            "v25.0.9rc1",
            "v25.0.8",
            "v26.0.3",
            "v25.0.8rc2",
            "v26.0.3rc2",
            "v25.0.8rc1",
            "v26.0.3rc1",
            "v27.0.0",
            "v25.0.7",
            "v26.0.2",
            "v25.0.7rc1",
            "v26.0.2rc1",
            "v25.0.6",
            "v26.0.1",
            "v25.0.6rc1",
            "v26.0.1rc1",
            "v25.0.5",
            "v26.0.0",
            "v25.0.5rc1",
            "v25.0.4",
            "v25.0.4rc1",
            "v25.0.3",
            "v25.0.3rc2",
            "v25.0.3rc1",
            "v25.0.2",
            "v25.0.2rc3",
            "v25.0.2rc2",
            "v25.0.2rc1",
            "v25.0.1",
            "v25.0.1rc1",
            "v25.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-48306.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.776417639Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/2115212",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48306.json",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-8f69-f9jg-4x3v",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-48306",
        "https://github.com/nextcloud/server/pull/40234"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22.0.0"
                  },
                  {
                    "fixed": "22.2.10.16"
                  },
                  {
                    "introduced": "23.0.0"
                  },
                  {
                    "fixed": "23.0.12.11"
                  },
                  {
                    "introduced": "24.0.0"
                  },
                  {
                    "fixed": "24.0.12.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48306.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-48306",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519274,
  "published_at": "2023-11-21T22:20:28.083+00:00"
}