Exploit database

Vulnerability

CVE-2025-48827

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.1 · mitre

Vector string

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

Description

vBulletin 5.0.0 through 5.7.5 and 6.0.0 through 6.0.3 allows unauthenticated users to invoke protected API controllers' methods when running on PHP 8.1 or later, as demonstrated by the /api.php?method=protectedMethod pattern, as exploited in the wild in May 2025.

CVE Program

Exploit source choices

3 sources
vBulletin replaceAdTemplate Remote Code Execution
MSF-multi--http--vbulletin_replace_ad_template_rceMetasploitLinux,Unix,Windows / remotePreferred

This module exploits a design flaw in vBulletin's AJAX API handler and template rendering system, present in versions 5.0.0 through 6.0.3. The vulnerability allows unauthenticated attackers to invoke protected controller methods via the ajax/api/ad/replaceAdTemplate endpoint, due to improper use of PHP's Reflection API in combination with changes in PHP 8.1+. Specifically, it targets the vB_Api_Ad::replaceAdTemplate() method to inject a template containing a <vb:if> conditional that evaluates attacker-supplied PHP using the "system"($_POST[<param>]) construct. The malicious template is then executed via a second unauthenticated request to ajax/render/ad_<location>. Successful exploitation results in arbitrary command execution as the webserver user, without authentication. This module supports payloads for PHP, Linux, and Windows. Tested against vBulletin 5.1.0, 5.7.5, 6.0.1, and 6.0.3 running on PHP 8.1.

2025-05-23vbulletin_replace_ad_template_rce.rb
0xgh057r3c0n/cve-2025-48827
GH-4c936109e524d2152ed759f97f236e89GitHubUnofficial GitHub source

Critical Unauthenticated API Access in vBulletin

2025-05-293 files · 10 stars
sh4den/cve-2025-48827
GH-c8714e2045cd42cb4c2bf1528fd94224GitHubUnofficial GitHub source

This repository contains a proof-of-concept exploit for CVE-2025-48827, a critical authentication bypass vulnerability affecting vBulletin 5.0.0–5.7.5 and 6.0.0–6.0.3 when running on PHP 8.1 or later. The vulnerability allows unauthenticated attackers to invoke protected API methods remotely.

2025-07-146 files · 1 stars