Social Warfare plugin flaws allow both Cross-Site Scripting and Remote Code Execution

A zero-day exploit was recently discovered in the popular Social Warfare plugin which allows both Cross-Site Scripting and Remote Code Execution. The Remote Code execution problem was found by security researchers as they examined the code behind the initial attack. Both problems have been fixed in the most recent release.

This is a good example of why we update plugins (and themes and WordPress core code) as soon as a new version is released.

What does that all mean?

Zero Day exploits generally refer to a security hole in some software which someone, somewhere has found, but the software developers don’t know about it yet. They have literally had zero days to fix it.

Cross-Site Scripting (XSS) is a type of computer security vulnerability typically found in web applications. XSS enables attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

Remote Code Execution The ability to trigger code execution over a network. In the case of exploits, the code is malicious code which is placed on the site by the hacker.

https://en.wikipedia.org/wiki/Cross-site_scripting

https://www.wordfence.com/blog/2019/03/unpatched-zero-day-vulnerability-in-social-warfare-plugin-exploited-in-the-wild/

https://www.wordfence.com/blog/2019/03/recent-social-warfare-vulnerability-allowed-remote-code-execution/

Severe PHP Exploit Threatens WordPress Sites with Remote Code Execution

(but probably not yours…)

Researchers have created a proof-of-concept exploit that would enable bad actors to target a severe vulnerability in the PHP programming language behind several major CMS companies, including WordPress. The vulnerability remains unresolved – more than a year after it was reported.

[Editor note: “Proof of concept” means that they’ve figured out how to do this in a security research lab. As far as we know this exploit has NOT been found “in the wild”. So between that and the required privileges described below, you’re probably safe.]

The researchers at Secarma who uncovered the exploit said it enables bad actors to potentially open up thousands of WordPress sites (and other web applications) to remote code-execution.

“For WordPress, an attacker would need privileges to upload and modify media items to gain sufficient control of the parameter, researchers said.”

Full article: https://threatpost.com/severe-php-exploit-threatens-wordpress-sites-with-remote-code-execution/136649/

Arbitrary File Deletion Flaw Present in WordPress Core

This recently discovered security hole requires that a malicious actor has access to an account with Author or higher abilities, so it probably won’t be a big concern for most of our clients. We expect an update of WordPress to correct this problem soon.

In the meantime, we suggest that you review the Users section of your site for any Author or Admin accounts which are no longer needed. You can either downgrade them to simple Subscriber level access or “No role” access. If you choose to delete an account which was used to post valuable information on your site, you can transfer ownership of those posts to an account you will retain.

More details at https://www.wordfence.com/blog/2018/06/arbitrary-file-deletion-flaw-present-in-wordpress-core/

Why would they hack little old me?

WordFence posted a great article on “Why is an insignificant website like mine being attached?”, a very common question asked by owners of smallish sites.

Most of it comes down to money. Here’s a quick synopsis:

1) Using your host’s server to run their own programs (the latest craze is cryptocurrency mining)

2) Leveraging your reputation

a) hosting phishing pages
b) hosting spam pages and injecting spam links
c) sending spam email
d) attacking other sites
e) hosting malicious content

3) Leveraging your site contents

a) malicious redirects
b) defacements
c) distributing malware

4) Stealing data

5) Ransomware

Full article at: https://www.wordfence.com/blog/2018/03/ask-wordfence-why-is-an-insignificant-site-like-mine-being-attacked/

Captcha Bypass

We’ve seen a large uptick in the number of spam getting past the defenses in the last two weeks – it seems someone has devised a new way to get around Captcha.

The Akismet plugin has been catching most of it on those sites which have it enabled. We’re seeing 4-5 times as many spam getting caught.

The spam which has gotten through to my email accounts typically has a short message and a link for you to “check out”. I’m sure most of you are sharp enough to know this, but just in case you’re tempted: Don’t follow the link. It’s almost surely a site which will try to infect your computer with malware.

PSA: Severe Vulnerability in ALL Wi-Fi Devices

If you have a WiFi device of any type, you should check to see if there is a firmware update available yet (or have your local computer expert/12 year old do it for you). For a list of manufacturers which are affected, and those which have issued updates, see: http://www.kb.cert.org/vuls/byvendor? searchview&Query=FIELD+Reference=22851 9&SearchOrder=4

For more info on the vulnerability, see: https://krebsonsecurity.com/2017/10/what- you-should-know-about-the-krack-wifi- security-weakness/

Rookie mistakes, conflicts, and malicious code

Rookie WordPress developers often use plugins for every little addition to a website – even when there’s a very easy way to do what they want without a plugin!

There are several potential problems with this approach:

  1. Too many plugins can slow down your site
  2. Plugins can sometimes conflict with one another, causing the desired function – and sometimes the entire site – to not work
  3. Some plugins may contain intentionally malicious code

We recently ran into the third problem. Two plugins in use in a number of the many sites we monitor and maintain were found to have malicious code.

A new developer bought and took over work on at least two existing plugins (so far) and added code which was found to hijack certain aspects of the site. The plugins were slipped into the WordPress plugin repository and went unnoticed until a particularly OCD developer checked the code before using it, found the problem, and reported it.

The current versions of these plugins are verified as clean, but will probably discontinue development. I’ll be contacting you directly about alternatives if you were affected.