Description

Invoice module allows you to create invoices in Drupal.

The module doesn't sufficiently sanitize user supplied text in some pages, thereby exposing a Cross Site Scripting vulnerability.

Additionally, some URLs were not protected against CSRF. A malicious user can cause another user to create, delete and alter invoices by getting their browser to make a request to a specially-crafted URL.

The XSS vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer own invoices" and be able to create/edit nodes of the "Invoice" content type.

CVE identifier(s) issued

  • Cross Site Scripting: CVE-2015-4381
  • Cross Site Request Forgery: CVE-2015-4382

Versions affected

  • Invoice 7.x-1.x versions prior to 7.x-1.3
  • Invoice 6.x-1.x versions prior to 6.x-1.2

Drupal core is not affected. If you do not use the contributed Invoice module, there is nothing you need to do.

Solution

Install the latest version:

Also see the Invoice project page.

Reported by

Fixed by

Coordinated by

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the contact form at https://www.drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.

Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity

Edits to this advisory since publishing

Edited on April 19, 2015.