Serious Vulnerability in VBSEO
The vBulletin team sent an email yesterday to all their clients about a potential security vulnerability on VBSEO. VBSEO is widely used SEO module for vBulletin that was discontinued last year. This makes the problem worse, no patches will be released for it.
If you are using VBSEO, you have 3 options:
- Completely remove VBSEO from your site – It is not supported anymore
- Apply the patch recommended by the vBulletin team
- Put your site behind a Website Firewall, this will prevent the exploitation of this vulnerability and many others.
Our research team is looking at this issue and it seems to be a remote, unauthenticated script (html) injection vulnerability. It might lead to a full remote command execution, but we have not confirmed it yet. That’s as serious as it can be, since an attacker can use that to inject malware, spam or take down the site.
This is the full email from vBulletin:
Dear VB License Holder,
It has come to our attention that there may be a potential security vulnerability in VBSEO affecting the latest version of the software (and potentially other versions as well). We’ve attempted to contact the vendor, but as they have been non-responsive we felt we should alert the community as many of our customers use this add-on software.
If you think you might be running a vulnerable version of the software, there is a simple fix: just comment out the following lines in the file vbseo/includes/functions_vbseo_hook.php:
if(isset($_REQUEST[‘ajax’]) && isset($_SERVER[‘HTTP_REFERER’]))
$permalinkurl = $_SERVER[‘HTTP_REFERER’].$permalinkurl;
should be changed to:
// if(isset($_REQUEST[‘ajax’]) && isset($_SERVER[‘HTTP_REFERER’]))
// $permalinkurl = $_SERVER[‘HTTP_REFERER’].$permalinkurl;
If you are running the “Suspect File Versions” diagnostics tool, you will additionally need to generate a new MD5 sum of the above file and edit upload/includes/md5_sums_crawlability_vbseo.php to use the new MD5 sum on the line:
Please be aware that you are making these changes at your own risk. We don’t know if making this change affects the terms of your VBSEO license and we can’t be responsible if making this change breaks your site.
CVE-2014-9463 has been assigned to this potential vulnerability by cve.mitre.org.
We will post more details as we investigate.