Drupal Commerce - Moderately critical - Access bypass - SA-CONTRIB-2020-020

Drupal Commerce - Moderately critical - Access bypass - SA-CONTRIB-2020-020

Project: Drupal Commerce
Date: 2020-May-27
Security risk: Moderately critical 12∕25 
Vulnerability: Access bypass

Description

Drupal Commerce is used to build eCommerce websites and applications. It's possible to configure commerce to permit orders by anonymous users. In this configuration, customers who do not choose to create an account upon checkout completion remain anonymous, and the resulting orders are never assigned an owner.

When anonymous users are granted the "View own orders" permission, they are able to see any such anonymous order via direct navigation to its view page. The module does not include extra access control necessary to ensure anonymous users are only able to view their own previously placed orders.

This vulnerability is mitigated by the fact that a site must be configured to permit anonymous checkout and an attacker must be an anonymous user with the permission "View own orders".

Solution

Install the latest version:

If you use Commerce for Drupal 8.x upgrade to Commerce 2.18

Also see the Drupal Commerce project page.

Nick Onom's picture
Nick Onom
Marketing Project Manager
Enthusiastic about all kinds of Open Source applications, AI, bitcoins, but mostly Drupal and Backdrop. For last years has been actively developing AltaGrade's new back-end system.

We value your opinion. Please add your feedback.