Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Security Vulnerability Found in Popular WPtouch WordPress Plugin

A recently discovered vulnerability in WPtouch, a popular plugin that’s used to create simple themes for the mobile visitors of WordPress websites, can be leveraged by an attacker to upload PHP files to impacted servers, Sucuri reported on Monday.

A recently discovered vulnerability in WPtouch, a popular plugin that’s used to create simple themes for the mobile visitors of WordPress websites, can be leveraged by an attacker to upload PHP files to impacted servers, Sucuri reported on Monday.

According to the security firm, an attacker can take control of WordPress websites by uploading PHP backdoors and other pieces of malware to the site’s directories.

The flaw, which is located in the “core/class­wptouch­pro.php” file, can only be exploited on websites that allow guest users to register, Sucuri researchers said. In this classwptouchpro.php file, the admin_initialize() method is called by the “admin_init” hook, the use of which recently led to a file upload vulnerability in a different popular WordPress plugin.

The problem is related to the nonce, a WordPress-generated string that acts as a special token and is utilized to identify the user performing a specific operation, like the deletion of a post or the submission of a form. Nonces are designed to protect websites against hacker attacks, but according to Sucuri experts, they should always be accompanied by other functions when used for securing sensitive methods.

 

“[The admin nonce] was also used to verify whether or not a user could upload files to the server. As the script didn’t use any other form of identification to check or authenticate the user’s privilege to upload files, it was possible for any user to complete the upload in there,” Sucuri’s Marc-Alexandre Montpas explained in a blog post.

In order to compromise a website, an attacker simply needs to log in to his account, get the nonce via wp-admin, and send an AJAX file upload request containing the nonce and the backdoor, Montpas said.

The plugin has been downloaded more than 5.6 million times from the official WordPress website, so the number of potential victims for such an attack is high. Fortunately, WPtouch developers quickly addressed the issue with the release of version 3.4.3 after being notified by Sucuri. It’s worth noting that the flaw affects only versions 3.x of WPtouch; older versions like 1.x and 2.x are not impacted.

Advertisement. Scroll to continue reading.
Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.