Junglewise Threat Intelligence

CVE-2016-7150: b2evolution stored XSS in site name setting

CVE-2016-7150 · Severity: medium · CVSS 5.4 · Published 2017-01-18

Technologies: B2evolution. Vendors: B2evolution.

Executive brief

b2evolution, a content management system used for blogs and community websites, is vulnerable to a security flaw where an authorized user can inject malicious scripts into the site's configuration. If an administrator or visitor views the affected site settings, the script could execute in their browser, potentially leading to unauthorized actions or data theft. This issue affects the "Short site name" field within the application's settings.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in b2evolution versions 6.7.5 and earlier. The flaw is located in the 'Short site name' setting within the 'set_settings' component, where input is not properly sanitized before being rendered in the site header. An authenticated attacker with sufficient privileges to modify site settings can inject malicious JavaScript or HTML. When other users, including administrators, view pages where this site name is displayed, the payload executes in the context of their session. A patch has been released in the project's GitHub repository to address this by implementing proper HTML attribute encoding.

Affected products

  • b2evolution 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

Related threats