- Advisory ID: DRUPAL-SA-CONTRIB-2015-085
- Project: Invoice (third-party module)
- Version: 6.x, 7.x
- Date: 2015-March-25
- Security risk: 14/25 ( Moderately Critical) AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting, Cross Site Request Forgery
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
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- All versions of Invoice module
Drupal core is not affected. If you do not use the contributed Invoice module, there is nothing you need to do.
Solution
If you use the Invoice module you should uninstall it.
Also see the Invoice project page.
Reported by
- Matt Vance, provisional member Drupal Security Team
- Pere Orga of the Drupal Security Team
Fixed by
Not applicable.
Coordinated by
- Pere Orga of the Drupal Security Team
- Matt Vance, provisional member Drupal Security Team
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