ZeroHour

CVE-2025-48828

PoC large

Arbitrary PHP Code Execution via Template Conditionals in vBulletin

CVSS 3.1
8.1 high
EPSS
58%p99
Published
()
Modified
AI analysis

CVE-2025-48828 is a flaw in vBulletin's template engine in which Template Conditionals do not properly restrict PHP function invocation, letting attackers run arbitrary PHP code on the server. A remote attacker triggers it by crafting template code that calls PHP functions using an alternative invocation syntax, such as "var_dump"("test"), which bypasses the security checks that normally limit executable code in templates. Successful exploitation yields arbitrary PHP execution in the context of the web application (CVSS 8.1 High, with high confidentiality, integrity and availability impact), typically enabling remote code execution on the hosting server. Certain vBulletin versions are affected; the CVSS vector indicates the attack is network-based, requires no privileges or user interaction, but has high attack complexity. The flaw was exploited in the wild in May 2025, a public proof-of-concept write-up is available, EPSS puts the 30-day exploitation probability at 57.6% (99th percentile), though it is not yet in CISA's KEV catalog.

What to do: Upgrade affected forums to the vendor's patched release as soon as possible, since this flaw was exploited in the wild in May 2025 and a public PoC is available. Until patched, check templates and access logs for signs of the alternative PHP invocation syntax (e.g., "function"("args")) and consider WAF/virtual-patching rules on forum template endpoints; afterwards, review the server for signs of compromise such as unexpected files or scheduled tasks.

Affected
vBulletin
Estimated exposure
largeorder of 10^4–10^5 internet-exposed vBulletin forums (tens of thousands, with only certain versions affected) — vBulletin has historically powered on the order of 100,000 communities and public internet scans regularly show tens of thousands of live, internet-facing vBulletin forum instances, though only the vulnerable versions are affected.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Certain vBulletin versions might allow attackers to execute arbitrary PHP code by abusing Template Conditionals in the template engine. By crafting template code in an alternative PHP function invocation syntax, such as the "var_dump"("test") syntax, attackers can bypass security checks and execute arbitrary PHP code, as exploited in the wild in May 2025.

Vendors
vbulletin
Products
vbulletin
Weakness
CWE-424
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news