CVE-2016-7149: b2evolution stored XSS in autolink function

CVE-2016-7149 · Severity: medium · CVSS 6.1 · Published 2017-01-18

b2evolution, a content management system used for blogs and community websites, is vulnerable to a security flaw that allows attackers to inject malicious scripts into web pages. By posting specially crafted links in forums, an attacker can execute code in the browsers of other users who view the content. This could lead to unauthorized actions being performed on behalf of users or the theft of sensitive session information.

Technologies: B2evolution. Vendors: B2evolution.

Quick answers

Is CVE-2016-7149 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2016-7149 being exploited in the wild.
How severe is CVE-2016-7149?
Medium severity, with a CVSS score of 6.1, published 18 January 2017.
Which products and versions are affected?
b2evolution.net b2evolution 6.7.5 and earlier.
Is there a fix for CVE-2016-7149?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2016-7149 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2016-7149?
Check whether you run B2evolution. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in b2evolution versions 6.7.5 and earlier due to improper neutralization of input in the 'autolink' function (specifically within the 'make_clickable' utility). An unauthenticated remote attacker can exploit this by posting content, such as a forum message, containing a malformed URL with embedded JavaScript event handlers (e.g., onmouseover). When other users view the affected page, the malicious script executes in their browser context. The vulnerability was addressed by updating the autolink logic to properly terminate URL parsing before reaching injected attributes. A fix is available in the project's GitHub repository (commit 9a4ab85).

Affected products

  • b2evolution.net b2evolution 6.7.5 and earlier

Timeline

  • 2016-08-12: disclosed: Vendor notified by researcher Chen Ruiqi
  • 2016-09-12: other: Public CVE request on oss-security mailing list
  • 2017-01-18: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.