Skip to content

Server-Side Request Forgery and Open Redirect in AllTube Download

High severity GitHub Reviewed Published Mar 8, 2022 in Rudloff/alltube • Updated Feb 2, 2024

Package

composer rudloff/alltube (Composer)

Affected versions

< 3.0.3

Patched versions

3.0.3

Description

Impact

On releases prior to 3.0.3, an attacker could craft a special HTML page to trigger either an open redirect attack or a Server-Side Request Forgery attack (depending on how AllTube is configured).

The impact is mitigated by the fact the SSRF attack is only possible when the stream option is enabled in the configuration. (This option is disabled by default.)

Patches

3.0.3 contains a fix for this vulnerability.
(The 1.x and 2.x releases are not maintained anymore.)

The fix requires applying a patch to youtube-dl to disable its generic extractor. If you are using the version of youtube-dl bundled with 3.0.3, it is already patched.
However, if you are using your own unpatched version of youtube-dl you might still be vulnerable.

References

References

@Rudloff Rudloff published to Rudloff/alltube Mar 8, 2022
Published by the National Vulnerability Database Mar 8, 2022
Published to the GitHub Advisory Database Mar 9, 2022
Reviewed Mar 9, 2022
Last updated Feb 2, 2024

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

EPSS score

0.103%
(43rd percentile)

CVE ID

CVE-2022-24739

GHSA ID

GHSA-75p7-527p-w8wp

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.