FancyBox for WordPress Vulnerability

A vulnerability has been discovered in most versions of the Fancybox-for-WordPress plugin. This vulnerability makes it possible for attackers to inject malicious code into affected sites. If you’re using this plugin, you should immediate upgrade to the latest version.

Our security scanner has been watching for affected versions of Fancybox-for-WordPress on all VaultPress sites with security plans for the past few days. If you have already received a notification about this, please upgrade the plugin as soon as possible.

As this issue is widespread, we are also manually scanning all VaultPress-protected sites for vulnerable versions of the plugin regardless of your plan level. We will contact affected site owners directly by email, advising you to upgrade.

If your site uses a vulnerable version of Fancybox-for-WordPress, you can upgrade it from your WordPress dashboard:

  1. From your WordPress dashboard, navigate to Dashboard → Updates
  2. Scroll down to the “Plugins” section
  3. Select the “Fancybox-for-WordPress” plugin from the list, and click the “Update Plugins” button.
  4. Wait for the plugin update to download and install.

Alternately, if you are unable to upgrade plugins from your dashboard you can download the latest version of the plugin directly from WordPress.org.

As always, please let us know if you have any questions!

Posted in General, Security | Leave a comment

WordPress Security Q&A with VaultPress Vaultkeeper

Running a WordPress website means that you have to stay up-to-date with the best security measures in order to protect your website and data from any threats. 

VaultPress Vaultkeeper and lead developer, Mark George, is joining us today for a Q&A on the best ways to stay safe online, and to protect your WordPress website.

How did you find out about WordPress and what were your first impressions?

I’m a latecomer. I first played with WordPress about 4 years ago, when I needed to throw together a quick website for some software I had written. 

Back then, my typical approach to building websites was to throw together some raw HTML, CSS and add a splash of Python or Perl as necessary.

But that was always time-consuming; I just wanted a basic page up quickly without much fuss so I decided to try WordPress out.

When I first started with it, I found it really frustrating. I knew it was a valuable tool for people who didn’t know how to build sites on their own, but I had years of experience building standalone sites. Every tweak I needed to make to the CSS, every line of custom code I had to add to my own plugins, I kept reflecting on how much easier it would be to use the tools I already knew and start from scratch.

But I stuck with it, and I’m glad I did. Once I got used to the way WordPress works and its APIs, I came to appreciate both how flexible it is, and how valuable it is to have a huge pool of prebuilt themes and plugins to draw from when building sites.

Even when you know how to build all that stuff yourself, you don’t want to waste time on it for every site you build.

When did you start working on the VaultPress project? 

I started in early 2013. In 2012, I had been working for a version control hosting provider for 6 years running. I’d built their hosting system from scratch working with only one other developer initially, and I needed something new to sink my teeth into. 

I had heard about Automattic, and was pretty impressed with WordPress at that point so I decided to apply. I hadn’t heard of VaultPress yet, and just wanted to work with the talented and interesting folk behind WordPress.

I came on board in January of 2013, and started to learn how VaultPress’ backup engine worked. Since then, I’ve rewritten most of it. I’ve worked with VaultPress and contributed enough to its development that I feel it’s my baby now, even though I didn’t start the project.

Internet security is a widely discussed topic today. What is the most important piece of security advice you would give to every WordPress site owner out there?

Keep every layer of your software stack up to date; everything from your OS kernel, up to your CMS. Software security is an ongoing and escalating arms race between hackers and developers, so falling behind is really dangerous.

Out-of-date plugins, themes and WordPress core installations are dangerous and should be updated. Modern versions of WordPress support automatic updates, and I strongly recommend enabling that. 

Just last year, hundreds of thousands of sites were infected through a vulnerability in the Slider Revolution plugin which had been patched months prior. Had those site owners kept their software up-to-date, they wouldn’t have been vulnerable.

Outside of vulnerable plugins and themes, it’s also common for hosting providers to limit their customers to plain old insecure FTP for file management. In my opinion, users should avoid hosts that don’t offer more secure file management protocols (such as SFTP or SSH). 

You can never make anything perfectly secure, but staying up-to-date is a key step in keeping up with the arms race.

WordPress is currently used on 23.3% of websites worldwide and is on track to reach 25% before the end of the year. As WordPress becomes more popular, do you think it’ll become a bigger target? How do you think this should be addressed?

WordPress is already one of the biggest targets on the internet. Despite that, core WordPress has remained reasonably secure and free from hacks. The core WordPress development team are some of the most skilled programmers in the world. I feel they should be commended for their excellent work. 

As I mentioned before, most attacks on WordPress sites have been made possible by vulnerabilities introduced by plugins and themes. I feel that as WordPress use grows, we need to focus on training and resources for plugin and theme developers to help keep the rest of the ecosystem as secure as its core.

What do you do to stay secure online? 

I use 1Password to manage my credentials. It allows me to keep a separate random password for every service I interact with. I don’t know most of my passwords at all; I just let 1Password handle them for me.

Wherever available, I use 2 factor authentication. Everyone should turn it on for their WordPress.com accounts; it’s an excellent security feature. 

If you were to create a WordPress site from scratch, what would you do to make sure it’s secure? 

I would install VaultPress on it!

I’d also keep my plugins and themes up-to-date, and be extremely selective about which ones I use. 

I tend to prefer Open Source software, and avoid commercial plugins whenever possible. Open Source software allows more people (including myself) to review the code, leading to better security.

Posted in General, Security | Leave a comment

Exploring 3 Types of Restores

VaultPress’ restore system is incredibly versatile allowing you to restore your whole site or just one image with a couple clicks of a button. Because of this though, we wanted to provide some clarity as to when you should run each kind of restore. This post is going to go over the three different levels of restorations VaultPress can perform and offer some recommendations for when to run each.

Full Site Restore

This is the most thorough restore we offer. If your site has a variety of things wrong with it and you’re unable to pinpoint what the problem is, your best bet is to restore your site in full. Please note that VaultPress can only restore a site if it is publicly accessible so if you’re site is completely down it’s best to start from a fresh WordPress installation first before restoring.

Example: Your site is hacked causing a variety of different files now to have malware and half your posts have been deleted. This is a great use case for a full site restoration followed by changing passwords and checking over the Codex’s security guidelines.

Partial Site Restore

This is a great middle ground option that will be much faster than a full site restore but not as specific as restoring just a single image, for example. Don’t be afraid to try this option first to see if it will fix something with your site before running a full site restore. Note that you can restore both single sections or a combination of them. All in all, you can choose from restoring the database, uploads, plugins, contents, and themes.

Example: You added a new plugin to your site but it conflicts with another plugin you already have installed and need for your site to function properly. In this case, you can restore just the plugins on your site using a backup that doesn’t include the new plugin you tried to add. Here’s a GIF to show how you might do this:

restore plugins

Single File or Table Restore

This is the fastest and simplest restore you can run. If you know exactly what went you want to restore and don’t want to roll back your entire site to a previous backup, this option is for you.

Example: You were editing a theme’s files when you accidentally deleted the CSS file causing the theme to break. Rather than restore your whole site or even the entire theme folder, use the backup browser functionality to restore the specific CSS file you deleted.

 

Need help deciding which kind of restore to run? Just contact us  – we’re happy to help. 

Posted in Features, General, Help | 1 Comment

Migrate your site with VaultPress

For a couple years, VaultPress users have been able to restore their backups to a new site. This can come in handy if you want to experiment with making changes to your site, before making these changes visible on your main site. But did you know that you can use the same feature to move your site to a different hosting provider, while keeping the same domain name?

Perhaps you’ve outgrown your shared hosting plan, and are looking to move to a fancy new VPS. Or maybe you’re unhappy with your current provider, and are looking to explore other options.

Whatever the reason, VaultPress can simplify the process of migrating your site to a new host. And by following a few steps, you can even ensure that your site remains available to your visitors while it’s being transferred to a new host.

Migrating your site is no small feat — it involves a lot of moving parts — but we’re committed to make it simpler!

Here’s how you do it:

  1. Sign up for a new hosting plan, providing your new host with the domain name where you want visitors to find your site. In most cases, this will be your existing domain name.
  2. Take note of the FTP or SSH credentials provided by your new hosting provider. These will let us transfer your site to the new server.
  3. Also take note of the temporary address (URL) from which you can access your new server. Your new hosting provider should provide this information in their documentation.
  4. Restore your latest backup to a new site, using the FTP/SSH credentials and the temporary address from above. These should be used to set up your “Alternate Site”.
  5. You’ll receive an email once your restore has finished. After it’s finished, update your DNS records to point your domain name to your new hosting provider. (The process is different for every provider, so you should refer to the documentation provided by your domain registrar and your new host.)
  6. At this point, you can update the database on your new site to ensure that links point to your permanent domain name, and not the temporary address. You can run the following SQL queries on your database, or reach out to us. We can help with this step! (Note: Please replace TemporaryDomain and PermanentDomain with your temporary and permanent domain names, respectively.)
    UPDATE wp_options SET option_value = 'http://PermanentDomain' WHERE option_name = 'siteurl' LIMIT 1;
    UPDATE wp_options SET option_value = 'http://PermanentDomain' WHERE option_name = 'home' LIMIT 1;
    UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://TemporaryDomain', 'http://PermanentDomain');
    UPDATE wp_comments SET comment_content = REPLACE(comment_content, 'http://TemporaryDomain', 'http://PermanentDomain'), comment_author_url = REPLACE(comment_author_url, 'http://TemporaryDomain', 'http://PermanentDomain');
    UPDATE wp_posts SET guid = REPLACE( guid, 'TemporaryDomain', 'PermanentDomain');
  7. Your visitors may be directed to your old host while DNS changes propagate across the internet. These changes can take up to 72 hours, so you should wait a few days before you cancel your subscription with your old hosting provider.
  8. Take a deep breath! You’ve just migrated your site. :)

Need assistance?

As always, don’t hesitate to contact us if you have any questions along the way. We’re happy to help you through the process of migrating your site — we know it can be challenging!

Posted in General | Leave a comment

SoakSoak Malware affects 100,000+ WordPress sites

Sucuri recently reported that hundreds of thousands of WordPress sites have been infected with a new strain of malware, which injects malicious JavaScript into every page of affected sites.

According to their analysis, the “SoakSoak” malware uses a known vulnerability in old versions of the Slider Revolution plugin to infect sites.

In September, we reported the Slider Revolution vulnerability and released a hotfix, which prevents attackers from taking advantage of the vulnerability on all sites running VaultPress 1.6.5 or later.

Today, we’ve released an update for our security scanner to detect any cases of the SoakSoak malware.

We are scanning all VaultPress-protected sites for this malware, regardless of plan level. We will contact site owners who are affected and will work directly with them to repair their sites.

Fixing a compromised site

We will contact you, if we determine that your site has been compromised. The easiest way to fix this vulnerability is for you to re-install your core WordPress files. You can do so in just a few steps:

1. Visit your WordPress dashboard.
2. Navigate to Dashboard → Updates
3. Click the Re-Install Now button and follow the prompts on screen.

To be extra safe, you should also ensure that you’re running the latest versions of the VaultPress and Slider Revolution plugins.

As always, if you have any questions or need further help, feel free to contact us!

 

Posted in General, Security | Leave a comment