PoC Monitor
← All CVEs
CVE-2019-16759published 24 Sep 2019 21:01 UTCData: JSON · API

vBulletin

vBulletin PHP Module Remote Code Execution Vulnerability

vBulletin 5.x through 5.5.4 allows remote command execution via the widgetConfig[code] parameter in an ajax/render/widget_php routestring request.

First public PoC 1.9 days beforebefore publication · 23 Sep 2019 · Exploit-DB
Public PoCs1915 on GitHub · 4 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 3 Nov 20212.1 years after publication

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540+630+720First public PoC23 Sep 2019 · t−1.9dCVE published24 Sep 2019 · t = 0Added to CISA KEV3 Nov 2021 · t+2.1y

First public PoC 1.9 days before publication; added to CISA KEV 2.1 years after publication. First PoC: vBulletin 5.0 < 5.5.4 - 'widget_php ' Unauthenticated Remote Code Execution (Exploit-DB, 23 Sep 2019).

PoC repositories

Found on GitHub.

15 PoCs · 1 pending · 1 informational · 1 suspicious or fake

PoCs 15
RepositoryCreatedStarsAssessment
M0sterHxck/CVE-2019-16759-Vbulletin-rce-exploit 25 Sep 2019 +19 h 5 PoC
r00tpgp/http-vuln-CVE-2019-16759 26 Sep 2019 +1.3 d 3 PoC
jas502n/CVE-2019-16759 26 Sep 2019 +1.3 d 21 PoC
cotrufo/makura 28 Sep 2019 +4 d 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

p0megranate/makura 28 Sep 2019 +4 d 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

theLSA/vbulletin5-rce 2 Oct 2019 +7.8 d 20 PoC
FarjaalAhmad/CVE-2019-16759 12 Oct 2019 +18 d 4 PoC
andripwn/pwn-vbulletin 29 Dec 2019 +96 d 4 PoC
polar1s7/CVE-2019-16759-bypass 12 Aug 2020 +323 d 0 PoC
nako48/CVE-2019-16759 13 Aug 2020 +324 d 1 PoC
0xdims/CVE-2019-16759 16 Aug 2020 +327 d 6 PoC
mas1337/CVE-2019-16759 16 Aug 2020 +327 d 6 PoC
ludy-dev/vBulletin_Routestring-RCE 31 Aug 2020 +342 d 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

fxp0-4tx/CVE-2019-16759 29 Nov 2020 +1.2 y 0 PoC
shavchen/CVE-2019-16759 17 Feb 2022 +2.4 y 0 PoC
Pending 1
RepositoryCreatedStarsAssessment
sunian19/CVE-2019-16759 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
huyanshuhan/NekoBotV1 10 Feb 2020 +139 d 0 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
psychoxploit/vbull 20 Feb 2020 +149 d 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

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

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 15 PoC repos

POST /ajax/render/widget_tabbedcontainer_tab_panel

Body markers
subWidgets[0][template]=widget_php subWidgets[0][config][code]=$he=mysql;$user="$(cat core/includes/config.php in application/x-www-form-urlencoded
Seen in
2 repos: 0xdims/CVE-2019-16759, mas1337/CVE-2019-16759
Evidence
0xdims/CVE-2019-16759/vb-email-smtp.sh:42 0xdims/CVE-2019-16759/vb-email-smtp.sh:51 mas1337/CVE-2019-16759/vb-email-smtp.sh:42 mas1337/CVE-2019-16759/vb-email-smtp.sh:51

GET /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php

Seen in
1 repo: theLSA/vbulletin5-rce
Evidence
theLSA/vbulletin5-rce/vbulletin5-rce.py:179 theLSA/vbulletin5-rce/vbulletin5-rce.py:208 theLSA/vbulletin5-rce/vbulletin5-rce.py:251 theLSA/vbulletin5-rce/vbulletin5-rce.py:295

POST /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel

Body markers
routestring=ajax/render/widget_php subWidgets[0][template]=widget_php in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Seen in
1 repo: theLSA/vbulletin5-rce
Evidence
theLSA/vbulletin5-rce/vbulletin5-rce.py:47 theLSA/vbulletin5-rce/vbulletin5-rce.py:58 theLSA/vbulletin5-rce/vbulletin5-rce.py:89 theLSA/vbulletin5-rce/vbulletin5-rce.py:111 theLSA/vbulletin5-rce/vbulletin5-rce.py:145 theLSA/vbulletin5-rce/vbulletin5-rce.py:161

POST /index.php

Query
routestring=ajax/render/widget_php
Body markers
widgetConfig[code] = echo shell_exec('echo in application/x-www-form-urlencoded
Seen in
1 repo: shavchen/CVE-2019-16759
Evidence
shavchen/CVE-2019-16759/vBulletin_exp.py:20

Regex

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

GET /ret2pomegranate
(?i)^/ret2pomegranate(?:[?#].*)?$
POST /ajax/render/widget_tabbedcontainer_tab_panel
(?i)^/ajax/render/widget_tabbedcontainer_tab_panel(?:[?#].*)?$
GET /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php
(?i)^/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf\.php(?:[?#].*)?$
POST /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel
(?i)^/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel(?:[?#].*)?$
POST /index.php
(?i)^/index\.php\?(?:.*&)?routestring=ajax/render/widget_php

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /ret2pomegranate
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-16759 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ret2pomegranate"; reference:url,poc.griffinguard.io/cve/CVE-2019-16759; classtype:web-application-attack; sid:9494922; rev:1;)
POST /ajax/render/widget_tabbedcontainer_tab_panel
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-16759 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ajax/render/widget_tabbedcontainer_tab_panel"; http.request_body; content:"subWidgets[0][template]=widget_php"; http.request_body; content:"subWidgets[0][config][code]=$he=mysql|3b|$user=|22|$(cat core/includes/config.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-16759; classtype:web-application-attack; sid:9654675; rev:1;)
GET /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-16759 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-16759; classtype:web-application-attack; sid:9787292; rev:1;)
POST /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-16759 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel"; http.request_body; content:"routestring=ajax/render/widget_php"; http.request_body; content:"subWidgets[0][template]=widget_php"; reference:url,poc.griffinguard.io/cve/CVE-2019-16759; classtype:web-application-attack; sid:9328595; rev:1;)
POST /index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-16759 vBulletin vBulletin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.uri; content:"routestring=ajax/render/widget_php"; http.request_body; content:"widgetConfig[code] = echo shell_exec('echo"; reference:url,poc.griffinguard.io/cve/CVE-2019-16759; classtype:web-application-attack; sid:9871006; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /ret2pomegranate
title: vBulletin vBulletin exploit attempt (CVE-2019-16759)
id: gg-pocmon-cve-2019-16759-9494922
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-16759. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-16759
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ret2pomegranate'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.16759
POST /ajax/render/widget_tabbedcontainer_tab_panel
title: vBulletin vBulletin exploit attempt (CVE-2019-16759)
id: gg-pocmon-cve-2019-16759-9654675
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-16759. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-16759
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ajax/render/widget_tabbedcontainer_tab_panel'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.16759
GET /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php
title: vBulletin vBulletin exploit attempt (CVE-2019-16759)
id: gg-pocmon-cve-2019-16759-9787292
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-16759. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-16759
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/conf.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.16759
POST /ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel
title: vBulletin vBulletin exploit attempt (CVE-2019-16759)
id: gg-pocmon-cve-2019-16759-9328595
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-16759. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-16759
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel/ajax/render/widget_tabbedcontainer_tab_panel'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.16759
POST /index.php
title: vBulletin vBulletin exploit attempt (CVE-2019-16759)
id: gg-pocmon-cve-2019-16759-9871006
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-16759. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-16759
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
    cs-uri-query|contains|all:
      - 'routestring=ajax/render/widget_php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.16759