April 13, 2024

WooCommerce, a preferred plug-in for operating WordPress-based on-line shops, accommodates a important vulnerability that would permit attackers to take over web sites. Technical particulars in regards to the vulnerability haven’t been printed but, however the WooCommerce crew launched updates and attackers may reverse-engineer the patch.

“Though what we all know right now is restricted, what we do know is that the vulnerability permits for unauthenticated administrative takeover of internet sites,” researchers from internet safety agency Sucuri mentioned in a blog post. “Web site directors utilizing this plugin are suggested to situation the patch as quickly as doable and test for any suspicious exercise inside their WordPress web sites comparable to any administrative actions carried out from unrecognized IP addresses.”

WooCommerce is an open-source e-commerce platform constructed on high of WordPress that is owned and maintained by Automattic, the corporate that is additionally behind WordPress itself. The WooCommerce Payments plug-in, which accommodates the vulnerability, presently has over 500,000 lively installations.

The WooCommerce builders announced that websites hosted on WordPress.com, Pressable and WPVIP — managed WordPress internet hosting providers — have been mechanically up to date. Nonetheless, all different web sites ought to apply the replace for his or her respective model instantly, if they do not have computerized updates enabled.

The vulnerability impacts all WooCommerce Funds variations since 4.8.0, which was launched on the finish of September. Automattic launched the next patched variations: 4.8.2, 4.9.1, 5.0.4, 5.1.3, 5.2.2, 5.3.1, 5.4.1, 5.5.2 and 5.6.2.

As soon as WooCommerce has been up to date to a patched model, directors ought to test their web sites for any surprising admin customers or posts. If suspicious exercise is detected, the WooCommerce builders suggest altering the passwords for all admin customers on the positioning, in addition to any API keys for WooCommerce and fee gateways.

“WordPress person passwords are hashed utilizing salts, which implies the ensuing hash worth may be very troublesome to crack,” the WooCommerce builders mentioned. “This salted hash strategy protects your password as an admin person, and in addition the passwords of another customers in your website, together with clients. Whereas it’s doable the hashed model of your password saved in your database might have been accessed by this vulnerability, the hash worth needs to be indiscernible and nonetheless defend your passwords from unauthorized use.”

Nonetheless, it is value noting that this solely applies to passwords hashes saved utilizing the usual WordPress authentication mechanism. Different plug-ins may use credentials, tokens and API keys which can be saved within the database with out hashing. Admins ought to overview which secrets and techniques they doubtlessly have of their database and rotate all of them.

“You may as well take the extra measure of fixing the salts inside your wp-config.php file if you wish to take further precautions,” the Sucuri researchers mentioned.

No signal that WooCommerce vulnerability has been exploited

WooCommerce mentioned it does not consider this vulnerability was used to compromise retailer or buyer knowledge, however retailers may need to monitor how this incident develops. The vulnerability was reported privately by Automattic’s bug bounty program on HackerOne. Whereas the technical particulars haven’t but been disclosed, they may doubtless be in two weeks as per the disclosure coverage.

Nonetheless, the Sucuri researchers already identified that the vulnerability was doubtless in a file known as class-platform-checkout-session.php, which appears to have been solely eliminated within the patched model. It is due to this fact doable for expert hackers to determine the vulnerability and exploit it on their very own since they know the place to look.

WordPress web sites have traditionally been a gorgeous goal for attackers, with many vulnerabilities exploited through the years within the platform itself, in addition to in its many third-party plug-ins and themes.

Copyright © 2023 IDG Communications, Inc.