Vulnerabilities > CVE-2019-16759 - Improper Input Validation vulnerability in Vbulletin
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL 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)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
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