DRUPAL-CONTRIB-2023-018 This module provides social media share & follow buttons.

Not scored Published

An attacker can read node labels without proper access checks if the node ID is exposed via route parameters in specific configurations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is DRUPAL-CONTRIB-2023-018?

DRUPAL-CONTRIB-2023-018 is a missing authorization vulnerability in drupal/addtoany, published on 31 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This module provides social media share & follow buttons.

The module doesn't sufficiently check access to a node when retrieving the label of an AddToAny block.

This vulnerability is mitigated by the fact it requires the node ID to be passed via the route, requiring another module or specific configuration to provide this ID, as the /node/{id} page doesn't provide this value on an access denied.

Which versions are affected by DRUPAL-CONTRIB-2023-018?

Linux distribution packages (1)
drupal/addtoany Packagist:https://packages.drupal.org/8All versions1.21.0, 2.0.4

How do I fix DRUPAL-CONTRIB-2023-018?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is DRUPAL-CONTRIB-2023-018 being exploited?

There is no known exploitation of DRUPAL-CONTRIB-2023-018 in the wild and no public exploit code.

Sources

Is DRUPAL-CONTRIB-2023-018 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free