Vulnerabilities > CVE-2019-16759 - Code Injection vulnerability in Vbulletin
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
vBulletin 5.x through 5.5.4 allows remote command execution via the widgetConfig[code] parameter in an ajax/render/widget_php routestring request.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
id | EDB-ID:47437 |
last seen | 2019-09-30 |
modified | 2019-09-30 |
published | 2019-09-30 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/47437 |
title | vBulletin 5.x - Remote Command Execution |
Metasploit
description | vBulletin 5.x through 5.5.4 allows remote command execution via the widgetConfig[code] parameter in an ajax/render/widget_php routestring POST request. |
id | MSF:EXPLOIT/MULTI/HTTP/VBULLETIN_WIDGETCONFIG_RCE |
last seen | 2020-06-12 |
modified | 2020-01-15 |
published | 2019-10-18 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/vbulletin_widgetconfig_rce.rb |
title | vBulletin widgetConfig RCE |
Nessus
NASL family | CGI abuses |
NASL id | VBULLETIN_WIDGET_PHP_CMD_EXEC.NASL |
description | The version of vBulletin running on the remote host is affected by an input-validation flaw in the |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 130168 |
published | 2019-10-23 |
reporter | This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/130168 |
title | vBulletin 'widget_php' Command Execution |
code |
|
Packetstorm
data source https://packetstormsecurity.com/files/download/154623/http-vuln-CVE-2019-16759.nse.txt id PACKETSTORM:154623 last seen 2019-09-26 published 2019-09-26 reporter r00tpgp source https://packetstormsecurity.com/files/154623/vBulletin-5.x-0-Day-Pre-Auth-Remote-Command-Execution.html title vBulletin 5.x 0-Day Pre-Auth Remote Command Execution data source https://packetstormsecurity.com/files/download/154648/vbulletin_rce.rb.txt id PACKETSTORM:154648 last seen 2019-10-02 published 2019-09-28 reporter r00tpgp source https://packetstormsecurity.com/files/154648/vBulletin-5.x-Pre-Auth-Remote-Code-Execution.html title vBulletin 5.x Pre-Auth Remote Code Execution data source https://packetstormsecurity.com/files/download/155633/vbulletin_widgetconfig_rce.rb.txt id PACKETSTORM:155633 last seen 2019-12-12 published 2019-12-10 reporter mekhalleh source https://packetstormsecurity.com/files/155633/vBulletin-5.5.4-Remote-Command-Execution.html title vBulletin 5.5.4 Remote Command Execution
Saint
description | vBulletin remote command execution via the widgetConfig[code] parameter |
id | web_prog_php_vbulletinwidgetconfigrce |
title | vbulletin_widgetconfig_rce |
type | remote |
The Hacker News
id THN:3C66A5BF1D6CB09FB0A4CEB90614BEC0 last seen 2019-09-26 modified 2019-09-26 published 2019-09-24 reporter The Hacker News source https://thehackernews.com/2019/09/vbulletin-zero-day-exploit.html title [Unpatched] Critical 0-Day RCE Exploit for vBulletin Forum Disclosed Publicly id THN:DA6A48C093F31D7EE1BB90D7EE577177 last seen 2019-11-11 modified 2019-11-11 published 2019-11-11 reporter The Hacker News source https://thehackernews.com/2019/11/zonealarm-forum-data-breach.html title Hackers Breach ZoneAlarm's Forum Site — Outdated vBulletin to Blame id THN:86C3930A6E4C818EFA5133059C21FA57 last seen 2019-10-01 modified 2019-10-01 published 2019-10-01 reporter The Hacker News source https://thehackernews.com/2019/10/Comodo-vbulletin-hacked.html title Comodo Forums Hack Exposes 245,000 Users' Data — Recent vBulletin 0-day Used
Related news
References
- https://seclists.org/fulldisclosure/2019/Sep/31
- https://www.theregister.co.uk/2019/09/24/vbulletin_vbug_zeroday/
- https://arstechnica.com/information-technology/2019/09/public-exploit-code-spawns-mass-attacks-against-high-severity-vbulletin-bug/
- http://packetstormsecurity.com/files/154623/vBulletin-5.x-0-Day-Pre-Auth-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/154648/vBulletin-5.x-Pre-Auth-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/155633/vBulletin-5.5.4-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/158829/vBulletin-5.x-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158830/vBulletin-5.x-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2020/Aug/5
- http://packetstormsecurity.com/files/158866/vBulletin-5.x-Remote-Code-Execution.html