{
  "id": "CVE-2020-13671",
  "url": "https://poc.griffinguard.io/cve/CVE-2020-13671",
  "published_at": "2020-11-20T15:40:39Z",
  "title": "Drupal core Un-restricted Upload of File",
  "vendor": "Drupal",
  "product": "Drupal Core",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-01-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 424
  },
  "first_poc": {
    "created_at": "2026-08-22T09:28:13Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 2100.7,
    "repo": "Dungsocool/CVE-2020-13671-old",
    "source": "github"
  },
  "poc_repo_count": 4,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "Dungsocool/CVE-2020-13671-old",
      "url": "https://github.com/Dungsocool/CVE-2020-13671-old",
      "created_at": "2026-08-22T09:28:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-06-05T08:34:34Z"
    },
    {
      "repo": "Dungsocool/CVE-2020-13671",
      "url": "https://github.com/Dungsocool/CVE-2020-13671",
      "created_at": "2026-08-22T09:42:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-06-05T08:34:34Z"
    },
    {
      "repo": "ivanesk315/CVE-2020-13671",
      "url": "https://github.com/ivanesk315/CVE-2020-13671",
      "created_at": "2026-09-10T07:13:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2024-08-31T18:42:31Z"
    },
    {
      "repo": "d4ytox/CVE-2020-13671",
      "url": "https://github.com/d4ytox/CVE-2020-13671",
      "created_at": "2026-11-10T11:54:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-19T17:56:26Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 9.0.0, \u003c 9.0.8"
        ],
        "fixed_in": [
          "9.0.8"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 8.9.0, \u003c 8.9.9"
        ],
        "fixed_in": [
          "8.9.9"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 8.0.0, \u003c 8.8.11"
        ],
        "fixed_in": [
          "8.8.11"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.74"
        ],
        "fixed_in": [
          "7.74"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.74"
        ],
        "fixed_in": [
          "7.74"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 8.0.0, \u003c 8.8.11"
        ],
        "fixed_in": [
          "8.8.11"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 8.9.0, \u003c 8.9.9"
        ],
        "fixed_in": [
          "8.9.9"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 9.0.0, \u003c 9.0.8"
        ],
        "fixed_in": [
          "9.0.8"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-68jc-v27h-vhmw"
      }
    ],
    "upgrade": [
      "Upgrade drupal/core to 9.0.8 or later.",
      "Upgrade drupal/core to 8.9.9 or later.",
      "Upgrade drupal/core to 8.8.11 or later.",
      "Upgrade drupal/core to 7.74 or later.",
      "Upgrade drupal/drupal to 7.74 or later.",
      "Upgrade drupal/drupal to 8.8.11 or later.",
      "Upgrade drupal/drupal to 8.9.9 or later.",
      "Upgrade drupal/drupal to 9.0.8 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/node/add/article",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Dungsocool/CVE-2020-13671",
        "Dungsocool/CVE-2020-13671-old"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Dungsocool/CVE-2020-13671/exploit.py:42",
        "Dungsocool/CVE-2020-13671-old/exploit.py:42"
      ]
    },
    {
      "method": "GET",
      "path_template": "/sites/default/files/{var}",
      "query_markers": [
        "cmd="
      ],
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Dungsocool/CVE-2020-13671",
        "Dungsocool/CVE-2020-13671-old"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Dungsocool/CVE-2020-13671/exploit.py:77",
        "Dungsocool/CVE-2020-13671-old/exploit.py:77"
      ]
    },
    {
      "method": "GET",
      "path_template": "/user/login",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Dungsocool/CVE-2020-13671",
        "Dungsocool/CVE-2020-13671-old"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Dungsocool/CVE-2020-13671/exploit.py:18",
        "Dungsocool/CVE-2020-13671-old/exploit.py:18"
      ]
    },
    {
      "method": "POST",
      "path_template": "/node/add/article",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "name=",
        "pass=",
        "form_build_id=",
        "form_id=user_login_form",
        "op=Log in"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Dungsocool/CVE-2020-13671",
        "Dungsocool/CVE-2020-13671-old"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Dungsocool/CVE-2020-13671/exploit.py:67",
        "Dungsocool/CVE-2020-13671-old/exploit.py:67"
      ]
    },
    {
      "method": "POST",
      "path_template": "/user/login",
      "body_markers": [
        "name=",
        "pass=",
        "form_build_id=",
        "form_id=user_login_form",
        "op=Log in"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "Dungsocool/CVE-2020-13671",
        "Dungsocool/CVE-2020-13671-old"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Dungsocool/CVE-2020-13671/exploit.py:34",
        "Dungsocool/CVE-2020-13671-old/exploit.py:34"
      ]
    }
  ],
  "rules": []
}
