JetPack, A well-known WordPress plugin developer, disclosed a backdoor in multiple AccessPress themes and plugins. As per the report, the backdoor CVE-2021–24867 is capable of providing full access to the victim site. It’s been found there are around 40 teams and 53 plugins are vulnerable to this supply chain attack. Let’s see how to detect and fix the CVE-2021-24867 backdoor found in these multiple AccessPress themes and plugins in this post.
AccessPress, a known themes and plugins creator for WordPress CMS platform. AccessPress was in the headlines for being a compromise in September 2021. It is said that since then, the attackers have been working on replacing backdoored themes and plugins on the AccessPress website. Researchers have found malicious code on 40 themes and 53 plugins on the AccessPress website so far.
On a note, users who installed the themes and plugins directly from the AccessPress website are vulnerable to this supply chain attack. Users who have downloaded the themes and plugins from the word press repository are not vulnerable. Please visit Jetpack and Sucuri posts for more technical details.
Table of Contents
What Is Supply Chain Attack?
A supply chain attack is, commonly referred to as a value-chain of a third-party attack, occurs when an attacker accesses an organization’s networking by infiltrating a supplier or business partner that comes in contact with its data. Hackers generally tamper with the manufacturing process by installing hardware-based spying components or a rootkit. This attack aims to damage an organization’s reputation by targeting less secure elements in the supply chain network.
Supply chain attacks are designed to manipulate relationships between a company and external parties. These relationships may include vendor relationships, partnerships, or the use of third-party software. Cybercriminals compromise an organization and then move up the supply chain to take advantage of trusted relationships and gain access to other organizations’ environments.
List Of AccessPress Themes Affected
Here is the list of themes affected by this supply chain attack. Website owners should pay attention to this list and update their theme to the latest version when available or replace the files of the theme with clean files downloaded from the WordPress repository.
Theme slug | Version |
---|---|
accessbuddy | 1.0.0 |
accesspress-basic | 3.2.1 |
accesspress-lite | 2.92 |
accesspress-mag | 2.6.5 |
accesspress-parallax | 4.5 |
accesspress-ray | 1.19.5 |
accesspress-root | 2.5 |
accesspress-staple | 1.9.1 |
accesspress-store | 2.4.9 |
agency-lite | 1.1.6 |
aplite | 1.0.6 |
bingle | 1.0.4 |
bloger | 1.2.6 |
construction-lite | 1.2.5 |
doko | 1.0.27 |
enlighten | 1.3.5 |
fashstore | 1.2.1 |
fotography | 2.4.0 |
gaga-corp | 1.0.8 |
gaga-lite | 1.4.2 |
one-paze | 2.2.8 |
parallax-blog | 3.1.1574941215 |
parallaxsome | 1.3.6 |
punte | 1.1.2 |
revolve | 1.3.1 |
ripple | 1.2.0 |
scrollme | 2.1.0 |
sportsmag | 1.2.1 |
storevilla | 1.4.1 |
swing-lite | 1.1.9 |
the-launcher | 1.3.2 |
the-monday | 1.4.1 |
uncode-lite | 1.3.1 |
unicon-lite | 1.2.6 |
vmag | 1.2.7 |
vmagazine-lite | 1.3.5 |
vmagazine-news | 1.0.5 |
zigcy-baby | 1.0.6 |
zigcy-cosmetics | 1.0.5 |
zigcy-lite | 2.0.9 |
List Of AccessPress Plug-ing Affected
The below list has the list of affected plug-ins with affected version and clean version information. We recommend checking the version available on your WordPress site and updating the theme to a clean version. As a note, we would recommend downloading the plug-ins from official wordpress.org.
Plugin slug | Affected | Clean |
---|---|---|
accesspress-anonymous-post | 2.8.0 | 2.8.1 |
accesspress-custom-css | 2.0.1 | 2.0.2 |
accesspress-custom-post-type | 1.0.8 | 1.0.9 |
accesspress-facebook-auto-post | 2.1.3 | 2.1.4 |
accesspress-instagram-feed | 4.0.3 | 4.0.4 |
accesspress-pinterest | 3.3.3 | 3.3.4 |
accesspress-social-counter | 1.9.1 | 1.9.2 |
accesspress-social-icons | 1.8.2 | 1.8.3 |
accesspress-social-login-lite | 3.4.7 | 3.4.8 |
accesspress-social-share | 4.5.5 | 4.5.6 |
accesspress-twitter-auto-post | 1.4.5 | 1.4.6 |
accesspress-twitter-feed | 1.6.7 | 1.6.8 |
ak-menu-icons-lite | 1.0.9 | |
ap-companion | 1.0.7 | |
ap-contact-form | 1.0.6 | 1.0.7 |
ap-custom-testimonial | 1.4.6 | 1.4.7 |
ap-mega-menu | 3.0.5 | 3.0.6 |
ap-pricing-tables-lite | 1.1.2 | 1.1.3 |
apex-notification-bar-lite | 2.0.4 | 2.0.5 |
cf7-store-to-db-lite | 1.0.9 | 1.1.0 |
comments-disable-accesspress | 1.0.7 | 1.0.8 |
easy-side-tab-cta | 1.0.7 | 1.0.8 |
everest-admin-theme-lite | 1.0.7 | 1.0.8 |
everest-coming-soon-lite | 1.1.0 | 1.1.1 |
everest-comment-rating-lite | 2.0.4 | 2.0.5 |
everest-counter-lite | 2.0.7 | 2.0.8 |
everest-faq-manager-lite | 1.0.8 | 1.0.9 |
everest-gallery-lite | 1.0.8 | 1.0.9 |
everest-google-places-reviews-lite | 1.0.9 | 2.0.0 |
everest-review-lite | 1.0.7 | |
everest-tab-lite | 2.0.3 | 2.0.4 |
everest-timeline-lite | 1.1.1 | 1.1.2 |
inline-call-to-action-builder-lite | 1.1.0 | 1.1.1 |
product-slider-for-woocommerce-lite | 1.1.5 | 1.1.6 |
smart-logo-showcase-lite | 1.1.7 | 1.1.8 |
smart-scroll-posts | 2.0.8 | 2.0.9 |
smart-scroll-to-top-lite | 1.0.3 | 1.0.4 |
total-gdpr-compliance-lite | 1.0.4 | |
total-team-lite | 1.1.1 | 1.1.2 |
ultimate-author-box-lite | 1.1.2 | 1.1.3 |
ultimate-form-builder-lite | 1.5.0 | 1.5.1 |
woo-badge-designer-lite | 1.1.0 | 1.1.1 |
wp-1-slider | 1.2.9 | 1.3.0 |
wp-blog-manager-lite | 1.1.0 | 1.1.2 |
wp-comment-designer-lite | 2.0.3 | 2.0.4 |
wp-cookie-user-info | 1.0.7 | 1.0.8 |
wp-facebook-review-showcase-lite | 1.0.9 | |
wp-fb-messenger-button-lite | 2.0.7 | |
wp-floating-menu | 1.4.4 | 1.4.5 |
wp-media-manager-lite | 1.1.2 | 1.1.3 |
wp-popup-banners | 1.2.3 | 1.2.4 |
wp-popup-lite | 1.0.8 | |
wp-product-gallery-lite | 1.1.1 |
How To Detect And Fix CVE-2021-24867- Backdoor In AccessPress Themes And Plug-ins?
If you have been using any of the themes or plug-ins listed out in the above table, it is worth verifying that your site is compromised. There are some tips to validate that your site is backdoored.
- Check for “wp_is_mobile_fix” function in vars.php file. If you see some obfuscated code inside the function, then your site is backdoored.
- Jetpack has published a YARA rule to detect the backdoor. Download the Yara packages on your host server and run this YARA rule to detect the compromise. Please visit their site for more information.
- If you found that your site is compromised, follow these tips to fix CVE-2021-24867 the issue.
- Replace your core WordPress files with fresh copies.
- Replace the affected theme or plug-ins files with the fresh copy of files downloaded from the official WordPress repository.
- Reset all the admin, user, and database passwords.
- We can also suggest taking the Vendor or expert support to remove the infection.
YARA Rule To Detect CVE-2021-24867- Backdoor In AccessPress Themes And Plugins
rule accesspress_backdoor_infection
{
strings:
// IoC's for the dropper
$inject0 = "$fc = str_replace('function wp_is_mobile()',"
$inject1 = "$b64($b) . 'function wp_is_mobile()',"
$inject2 = "$fc);"
$inject3 = "@file_put_contents($f, $fc);"
// IoC's for the dumped payload
$payload0 = "function wp_is_mobile_fix()"
$payload1 = "$is_wp_mobile = ($_SERVER['HTTP_USER_AGENT'] == 'wp_is_mobile');"
$payload2 = "$g = $_COOKIE;"
$payload3 = "(count($g) == 8 && $is_wp_mobile) ?"
$url0 = /https?:////(www/.)?wp/-theme/-connect/.com(//images//wp/-theme/.jpg)?/
condition:
all of ( $inject* )
or all of ( $payload* )
or $url0
}
We hope this post will help you know How to detect and fix CVE-2021-24867- Backdoor in AccessPress Themes and Plugins on your WordPress website. Thanks for reading this threat post. Please share this post and help to secure the digital world. Visit our social media page on Facebook, LinkedIn, Twitter, Telegram, Tumblr, & Medium and subscribe to receive updates like this.
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/270130.html