I’ve validated this template locally?
nuclei -t .\http\cves\2025\CVE-2025-48827.yaml -u http://172.25.92.145:8081/ -debug
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.4.6
projectdiscovery.io
[INF] Current nuclei version: v3.4.6 (latest)
[INF] Current nuclei-templates version: v10.2.3 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 105
[INF] Templates loaded for current scan: 1
[WRN] Loading 1 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 1
[INF] [CVE-2025-48827] Dumped HTTP request for http://172.25.92.145:8081/ajax/api/ad/wrapAdTemplate
POST /ajax/api/ad/wrapAdTemplate HTTP/1.1
Host: 172.25.92.145:8081
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15
Connection: close
Content-Length: 28
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
template=rre5o&id_name=zqejh
[DBG] [CVE-2025-48827] Dumped HTTP response http://172.25.92.145:8081/ajax/api/ad/wrapAdTemplate
HTTP/1.1 200 OK
Connection: close
Content-Length: 44
Cache-Control: max-age=0,no-cache,no-store,post-check=0,pre-check=0
Content-Type: application/json; charset=UTF-8
Date: Tue, 01 Jul 2025 06:49:29 GMT
Expires: Sat, 1 Jan 2000 01:00:00 GMT
Last-Modified: Tue, 01 Jul 2025 06:49:29 GMT
Pragma: no-cache
Server: Apache/2.4.62 (Debian)
Set-Cookie: bbsessionhash=ba003a465d529f87cc788901fca3a3db; path=/; HttpOnly
Set-Cookie: bblastvisit=1751352569; expires=Wed, 01-Jul-2026 06:49:29 GMT; Max-Age=31536000; path=/; HttpOnly
Set-Cookie: bblastactivity=1751352569; expires=Wed, 01-Jul-2026 06:49:29 GMT; Max-Age=31536000; path=/; HttpOnly
Set-Cookie: bbsessionhash=d40db5c0f1d2925dd20b69f435a32395; path=/; HttpOnly
X-Powered-By: PHP/8.1.32
"<div class=\"ad_zqejh_inner\">rre5o<\/div>"
[CVE-2025-48827:dsl-1] [http] [critical] http://172.25.92.145:8081/ajax/api/ad/wrapAdTemplate
[INF] Scan completed in 9.6876ms. 1 matches found.
Hi team, I found out during template testing it’s basically the same as CVE-2025-48828. Also current CVE-2025-48828 template should probably be named CVE-2025-48827 as CVE-2025-48827 requires PHP 8.1. I’ll send a lab for both PHP versions. Versions below PHP 8.1 are not exploitable in both templates and return errors like this:
{"errors":[["unexpected_error","Trying to invoke protected method vB_Api_Ad::replaceAdTemplate() from scope ReflectionMethod"]]}
Both templates try to access private methods as described in https://karmainsecurity.com/dont-call-that-protected-method-vbulletin-rce Maybe CVE-2025-48828 should check if this error occurs and CVE-2025-48827 if variables are reflected in response?
/claim #12506
pszyszkowski
@pszyszkowski
ProjectDiscovery
@projectdiscovery