Executive brief
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.
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
Timeline
- 2024-07-17: disclosed: Vulnerability publicly disclosed
- 2024-07-17: patched: Fix released in version 0.95.0