Date: 
Friday, Mar 1st, 2019
Advisory ID: 
BACKDROP-SA-CONTRIB-2019-002
Security risk: 
Critical
Vulnerability: 
SQL Injection
Versions affected: 
  • Services 1.x.x versions prior to 1.x-3.0.3-beta
Description: 

This module provides a standardized solution for building API's so that external clients can communicate with Drupal.

The module doesn't sufficiently sanitize user input for entity index resources thus allowing SQL Injection attacks.

This vulnerability is mitigated by the fact that the Backdrop site must have an "index" resource(s) enabled under the Services endpoint configuration (admin/structure/services/list/MY-ENDPOINT/resources) and an attacker must know the endpoint's machine name.

Install the 1.x-3.0.3-beta version of the Services module for the fix, or simply disable any "index" resources to stop the attack vector.

Solution: 

Upgrade your site to the most recent version of the Services module. Download available on the Services release page. See the update instructions, if needed.

Reported By: 
Fixed By: 
Coordinated By: 

Security email list

Backdrop maintains a security mailing list. Whenever a security release comes out, an email will be sent to everyone subscribed to that list, announcing the new release. Please follow the steps below to join the Security email list.

  1. Log in to backdropcms.org
  2. Edit your profile
  3. Switch to the "Subscriptions" tab
  4. Check the box labeled "Security updates"
  5. Save the form