Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Stored XSS Flaw Patched in bbPress WordPress Plugin

A vulnerability in the popular WordPress plugin bbPress can be exploited to insert malicious JavaScript code into forum posts, web security company Sucuri has warned.

A vulnerability in the popular WordPress plugin bbPress can be exploited to insert malicious JavaScript code into forum posts, web security company Sucuri has warned.

bbPress is a forum software plugin maintained by Automattic, the company behind the WordPress.com blogging service. bbPress is currently installed on more than 300,000 WordPress websites and it powers the official WordPress.org support forum.

Researchers at Sucuri discovered that the plugin is plagued by a stored cross-site scripting (XSS) vulnerability that can be easily exploited by a remote attacker to hijack user accounts and perform actions on their behalf.

The flaw is related to bbp_mention_filter, a function that finds users mentioned in a forum post using the @ symbol and links to their profile. The problem, according to experts, is that bbPress doesn’t check if mentions are already located inside an HTML tag’s attribute, which breaks the hyperlink tag and allows an attacker to insert arbitrary event handlers and execute arbitrary JavaScript code.

For example, a user named “test” can break the hyperlink tag by posting a reply containing a tag with the href attribute set to “@test.”

bbPress XSS

Since it’s a stored XSS vulnerability, the malicious code injected by the attacker would get executed whenever the post is viewed by a user.

The vulnerability, which affects bbPress 2.5.8 and earlier, was reported to the bbPress team on April 12 and it was patched on May 2 with the release of version 2.5.9.

“If you’re using any version of bbPress 2.x and have not yet updated, please take a moment to update your bbPress installations to 2.5.9. If you’re using WordPress’s built-in updater, it should only take a click or two,” bbPress lead developer John James Jacoby said in a blog post.

Advertisement. Scroll to continue reading.

According to Sucuri, the vulnerability was similar to one found last year in Akismet, an anti-spam plugin created by Automattic.

Related: WordPress 4.4.2 Patches Open Redirect, SSRF Flaws

Related: Backdoor in WordPress Plugin Steals Admin Credentials

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

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

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.