{
  "id": "CVE-2025-50286",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-50286",
  "published_at": "2025-08-06T00:00:00Z",
  "cvss": {
    "score": 8.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-08-11T00:00:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 5,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/52402"
  },
  "poc_repo_count": 2,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plugin via the /admin/tools/direct-install interface. Once uploaded, the plugin is automatically extracted and loaded, allowing arbitrary PHP code execution and reverse shell access.",
  "cwe": "CWE-434",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:1.7.48:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.1
  },
  "repos": [
    {
      "repo": "binneko/CVE-2025-50286",
      "url": "https://github.com/binneko/CVE-2025-50286",
      "created_at": "2025-08-05T01:46:20Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-04-02T13:20:06Z"
    },
    {
      "repo": "hn7494213-glitch/CVE-projecttt",
      "url": "https://github.com/hn7494213-glitch/CVE-projecttt",
      "created_at": "2025-11-25T07:14:47Z",
      "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": "analyzed",
      "owner_created_at": "2025-08-15T02:28:49Z"
    },
    {
      "repo": "x1o3/CVE-2025-50286",
      "url": "https://github.com/x1o3/CVE-2025-50286",
      "created_at": "2026-02-28T17:39:48Z",
      "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": "2023-10-21T10:05:57Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52402",
      "source": "exploitdb",
      "title": "Grav CMS 1.7.48 - Remote Code Execution (RCE)",
      "published_at": "2025-08-11T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/grav_admin_direct_install_rce_cve_2025_50286.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Grav CMS Admin Direct Install Authenticated Plugin Upload RCE (exploit/multi/http/grav_admin_direct_install_rce_cve_2025_50286)",
      "published_at": "2026-02-27T14:06:19Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "cmd=id",
        "cmd="
      ],
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/CVE-2023-50011.py:49",
        "hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:50",
        "hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:58"
      ]
    },
    {
      "method": "GET",
      "path_template": "/resource/{var}",
      "query_markers": [
        "p=",
        "c=id"
      ],
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:420"
      ]
    },
    {
      "method": "GET",
      "path_template": "/resource/{var}.php",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:372"
      ]
    },
    {
      "method": "POST",
      "path_template": "/index.php",
      "body_markers": [
        "__csrf_magic=",
        "action=login",
        "login_username=",
        "login_password=",
        "remember_me=on"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:219",
        "hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:262"
      ]
    },
    {
      "method": "POST",
      "path_template": "/login",
      "body_markers": [
        "username=admin",
        "password=Cong@2007Secure!"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:29"
      ]
    },
    {
      "method": "POST",
      "path_template": "/package_import.php",
      "query_markers": [
        "package_location=0",
        "preview_only=on",
        "remove_orphans=on",
        "replace_svalues=on",
        "header=false"
      ],
      "body_markers": [
        "__csrf_magic=",
        "trust_signer=on",
        "save_component_import=",
        "action=save"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:293",
        "hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:341",
        "hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:336",
        "hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:384"
      ]
    },
    {
      "method": "POST",
      "path_template": "/po-admin/route.php",
      "query_markers": [
        "mod=login",
        "act=proclogin",
        "mod=setting",
        "act=metasocial"
      ],
      "body_markers": [
        "username=",
        "password=",
        "meta_content=\"\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/CVE-2023-50011.py:12",
        "hn7494213-glitch/CVE-projecttt/CVE-2023-50011.py:37"
      ]
    },
    {
      "method": "POST",
      "path_template": "/tools/direct-install",
      "body_markers": [
        "name=\"package\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "http",
      "repos": [
        "hn7494213-glitch/CVE-projecttt"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:40"
      ]
    }
  ],
  "rules": []
}
