Code Injection in vBulletin - CVE-2020-17496

 

Code Injection in vBulletin - CVE-2020-17496

Published: August 11, 2020 / Updated: February 20, 2022


Vulnerability identifier: #VU42751
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-17496
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when processing untrused input passed via the "subWidgets[0][config][code]" HTTP parameter to "/ajax/render/widget_tabbedcontainer_tab_panel" URL. A remote attacker can send a specially crafted request and execute arbitrary PHP code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Exploitation example:

curl -s http://SITE/ajax/render/widget_tabbedcontainer_tab_panel -d 'subWidgets[0][template]=widget_php&subWidgets[0][config][code]=echo shell_exec("id"); exit;'


Affected software

vBulletin

How to mitigate CVE-2020-17496

Install updates from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins