Exploit database

Vulnerability

CVE-2025-50286

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

3 sources
Grav CMS Admin Direct Install Authenticated Plugin Upload RCE
MSF-multi--http--grav_admin_direct_install_rce_cve_2025_50286MetasploitPHP / remote

Grav CMS version <=1.7.49.5 with Admin Plugin version <=1.10.49.3 is vulnerable to authenticated remote code execution via the "Direct Install" feature in the administrative interface. An authenticated administrator can upload a crafted plugin archive containing arbitrary PHP code. The uploaded plugin is written to disk and executed by the application, allowing command execution in the context of the web server user. This module authenticates to the admin panel, uploads a malicious plugin via /admin/tools/direct-install, and triggers execution of the embedded payload.

2025-08-07grav_admin_direct_install_rce_cve_2025_50286.rb
binneko/cve-2025-50286
GH-821cda271c8d2f4342295248c7b06cc6GitHubUnofficial GitHub source

binneko/cve-2025-50286 source repository

2025-08-056 files · 2 stars