Skip to content
SSRF Disclosed report Intermediate CVE-2022-0768

Server-Side Request Forgery (SSRF) in rudloff/alltube

AllTube versions before 3.0.2 are vulnerable to server-side request forgery, allowing an attacker to make the server send a request to an internal hostname. The fix requires patching youtube-dl to stop following HTTP redirects, and unpatched youtube-dl leaves the system vulnerable.

Rudloff/alltube

Originally disclosed on huntr

Critical View original

Impact

Releases prior to 3.0.2 are vulnerable to a Server-Side Request Forgery vulnerability that allows an attacker to send a request to an internal hostname.

Patches

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

Part of the fix requires applying a patch to youtube-dl to prevent it from following HTTP redirects. If you are using the version of youtube-dl bundled with 3.0.2, it is already patched. However, if you are using your own unpatched version of youtube-dl you might still be vulnerable.

References

From the GitHub Advisory Database (GHSA-r5hc-wm3g-hjw6, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could send a request to an internal hostname, potentially accessing internal services, though the text does not specify further consequences.

What the attacker needed

AllTube version before 3.0.2; Unpatched youtube-dl (if custom)

The fix

The vulnerability was fixed in version 3.0.2, which includes a patch to youtube-dl to prevent following HTTP redirects; users must also ensure they use the patched youtube-dl.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Server-Side Request Forgery (SSRF) is when an attacker tricks a server into making requests to other systems, often internal ones that are not meant to be accessible from outside. Here, the AllTube application could be made to request an internal hostname, potentially exposing internal services. The fix involves updating AllTube and also patching youtube-dl so it does not follow redirects.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More from Rudloff/alltube

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.