Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability has been identified in the PeerTube video streaming platform that could allow an unauthenticated remote attacker to access and modify database information, potentially leading to unauthorized administrator account takeovers. This issue stems from the improper handling of external data within an SQL query, impacting the platform's ability to maintain data integrity and security.
- Unauthenticated remote attackers can steal data or control accounts.
- It impacts a federated video streaming platform.
- Confirm relevance and exposure of this platform.
Attack Path
How an attacker could exploit the issue
An attacker can target a PeerTube instance by sending a specially crafted ActivityPub message. This message can exploit a vulnerability in how the platform processes follower data, allowing the attacker to inject malicious SQL code. If successful, this allows the attacker to read and write to the PeerTube database, potentially leading to the theft of access tokens and unauthorized control of administrator accounts.
- No authentication required to access.
- Interpolating inboxUrl into SQL query.
- Database compromise and account takeover.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated remote attacker to access and modify the PeerTube database. This could include sensitive information like OAuth tokens, and potentially lead to the takeover of administrator accounts.
- Database tables and OAuth tokens at risk.
- Via interpolated user-controlled inbox URL.
- Administrator account takeover possible.
Operational Fix
Recommended remediation, mitigation, and detection steps
Real-world ownership for this critical SQL injection vulnerability in PeerTube typically falls to the platform or application team responsible for its operation and maintenance. The initial action should be to locate all deployed instances of PeerTube, assess their external reachability and business criticality, identify the accountable owner for each instance, and then prioritize remediation efforts based on risk.
- Platform/App owners to address.
- Verify external reachability and criticality.
- Plan remediation based on risk.