Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

WordPress Patches XSS Vulnerability Exploited in the Wild

WordPress 4.2.2 was released on Thursday to address a serious DOM-based cross-site scripting (XSS) vulnerability that has been actively exploited.

WordPress 4.2.2 was released on Thursday to address a serious DOM-based cross-site scripting (XSS) vulnerability that has been actively exploited.

The existence of the security hole was brought to light on Wednesday by researchers at Sucuri. The vulnerability exists in the genericons icon font package and it affects plugins and themes that use this package if the “example.html” file is present.

The security firm has determined that the vulnerability impacts the JetPack plugin, which has over 1 million active installs, and the TwentyFifteen theme, which is installed by default.

Malicious actors can exploit the flaw to execute arbitrary code and hijack affected WordPress website if they can trick administrators into clicking on their exploit links.

Fixing the vulnerability is not a difficult task. All WordPress website administrators need to do is delete the “example.html” file from the genericons package. After learning that the vulnerability was being actively exploited, Sucuri reached out to major hosting providers and instructed them to virtually patch the flaw in order to protect users.

WordPress has included its own fix for the vulnerability in WordPress 4.2.2, a security and maintenance release.

“The Genericons icon font package, which is used in a number of popular themes and plugins, contained an HTML file vulnerable to a cross-site scripting attack,” WordPress wrote in a blog post. “All affected themes and plugins hosted on WordPress.org (including the Twenty Fifteen default theme) have been updated today by the WordPress security team to address this issue by removing this nonessential file. To help protect other Genericons usage, WordPress 4.2.2 proactively scans the wp-content directory for this HTML file and removes it.”

WordPress said the issue was brought to its attention by Robert Abela of Netsparker.

WordPress 4.2.2 also includes hardening for a potential XSS vulnerability when using the visual editor, and a comprehensive fix for a critical stored XSS that can be exploited to compromise websites via comments. The latest version also resolves a total of 13 functionality and performance bugs.

Credentials leak campaign

Zscaler researchers on Thursday reported spotting a campaign in which malicious actors have compromised multiple WordPress website in an effort to steal their users’ credentials. The compromised websites contain a backdoor designed to harvest credentials and send them back to the attackers.

“When unsuspecting users attempt to login to one of the compromised WordPress sites, they are served injected JavaScript code as part of the login page,” Zscaler wrote in a blog post.

Researchers have identified 18 websites that have been hijacked in this campaign, but they haven’t been able to determine the initial vector of compromise.

Netherlands-based security firm Fox-IT has noted that the attacks analyzed by Zscaler are part of the CryptoPHP campaign, which they analyzed last year.

*Updated to clarify that the attacks spotted by Zscaler are part of the CryptoPHP campaign

Written By

Eduard Kovacs (@EduardKovacs) is a contributing 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

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 this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

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...

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...

Vulnerabilities

Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.

Vulnerabilities

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

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.