{
  "id": "CVE-2021-21311",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-21311",
  "published_at": "2021-02-11T20:55:15Z",
  "title": "SSRF in adminer",
  "vendor": "vrana",
  "product": "adminer",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-09-29",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1691
  },
  "first_poc": {
    "created_at": "2022-02-14T18:54:53Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 367.9,
    "repo": "llhala/CVE-2021-21311",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Adminer is an open-source database management in a single PHP file. In adminer from version 4.0.0 and before 4.7.9 there is a server-side request forgery vulnerability. Users of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected. This is fixed in version 4.7.9.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [
    {
      "repo": "llhala/CVE-2021-21311",
      "url": "https://github.com/llhala/CVE-2021-21311",
      "created_at": "2022-02-14T18:54:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-20T20:39:05Z"
    },
    {
      "repo": "omoknooni/CVE-2021-21311",
      "url": "https://github.com/omoknooni/CVE-2021-21311",
      "created_at": "2023-06-12T13:32:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-12-16T14:48:46Z"
    },
    {
      "repo": "tung6192/llm-security-hackathon",
      "url": "https://github.com/tung6192/llm-security-hackathon",
      "created_at": "2024-06-10T14:29:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-10-08T05:12:01Z"
    },
    {
      "repo": "Sudo-WP/sudowp-adminer",
      "url": "https://github.com/Sudo-WP/sudowp-adminer",
      "created_at": "2026-01-24T12:57:16Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-01-10T18:46:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "vrana/adminer",
        "ranges": [
          "\u003c 4.7.9"
        ],
        "fixed_in": [
          "4.7.9"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-x5r2-hj5c-8jx6"
      }
    ],
    "upgrade": [
      "Upgrade vrana/adminer to 4.7.9 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21311.yaml",
      "source": "nuclei",
      "title": "nuclei template: Adminer \u003c4.7.9 - Server-Side Request Forgery",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/{var}",
      "body_markers": [
        "auth[driver]=",
        "auth[server]=",
        "auth[username]=",
        "auth[password]=",
        "auth[db]=",
        "auth[permanent]="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "llhala/CVE-2021-21311"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "llhala/CVE-2021-21311/CVE-2021-21311.py:29"
      ]
    }
  ],
  "rules": []
}
