CVE-2024-30471: Apache StreamPipes race condition in user self-registration

CVE-2024-30471 · Severity: low · CVSS 3.1 · Published 2024-07-17

Apache StreamPipes is an open-source Industrial IoT platform that enables users to connect and analyze data streams. A timing vulnerability in the user registration process allows attackers to create multiple accounts with the same email address by submitting requests in rapid succession before validation completes, corrupting user management and potentially gaining unauthorized access.

Technologies: org.apache.streampipes:streampipes-parent (Maven), streampipes (PyPI). Vendors: Maven, PyPI.

Quick answers

Is CVE-2024-30471 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-30471 being exploited in the wild.
How severe is CVE-2024-30471?
Low severity, with a CVSS score of 3.1, published 17 July 2024.
Which products and versions are affected?
org.apache.streampipes:streampipes-parent (Maven) ECOSYSTEM:introduced=0,fixed=0.95.0; streampipes (PyPI) ECOSYSTEM:introduced=0,fixed=0.95.0.
Is there a fix for CVE-2024-30471?
Yes. org.apache.streampipes:streampipes-parent (Maven): upgrade to 0.95.0 or later; streampipes (PyPI): upgrade to 0.95.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2024-30471 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2024-30471?
Check whether you run org.apache.streampipes:streampipes-parent (Maven) or streampipes (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.streampipes:streampipes-parent (Maven): upgrade to 0.95.0 or later
    # set org.apache.streampipes:streampipes-parent to 0.95.0 in your pom.xml or build.gradle
  • streampipes (PyPI): upgrade to 0.95.0 or later
    pip install "streampipes>=0.95.0"

Technical details

This is a time-of-check time-of-use (TOCTOU) race condition (CWE-367) in the user self-registration functionality of Apache StreamPipes. The vulnerable code does not properly synchronize email validation, allowing an attacker to submit multiple registration requests with an identical email address before the email uniqueness check completes, resulting in duplicate user accounts. The attack requires network access to the registration endpoint and no authentication or user interaction. An attacker can exploit this to create multiple identical accounts, corrupting the user database and potentially impersonating legitimate users. The issue affects Apache StreamPipes through version 0.93.0 and is fixed in version 0.95.0.

Affected products

  • Apache StreamPipes through 0.93.0

Identifiers

  • CVE-2024-30471
  • GHSA-2qph-v9p2-q2gv
  • PYSEC-2024-172

Timeline

  • 2024-07-17: disclosed: Vulnerability publicly disclosed
  • 2024-07-17: patched: Fix released in version 0.95.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.