CVE-2024-27927 RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4

Medium 6.5 Published Updated

Attackers can exploit RSSHub to send arbitrary HTTP GET requests, enabling internal network scanning, data leakage, and denial-of-service attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27927?

CVE-2024-27927 is a medium-severity server-side request forgery vulnerability in DIYgod RSSHub, published on 6 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

RSSHub is an open source RSS feed generator. Prior to version 1.0.0-master.a429472, RSSHub allows remote attackers to use the server as a proxy to send HTTP GET requests to arbitrary targets and retrieve information in the internal network or conduct Denial-of-Service (DoS) attacks. The attacker can send malicious requests to a RSSHub server, to make the server send HTTP GET requests to arbitrary destinations and see partial responses. This may lead to leak the server IP address, which could be hidden behind a CDN; retrieving information in the internal network, e.g. which addresses/ports are accessible, the titles and meta descriptions of HTML pages; and denial of service amplification. The attacker could request the server to download some large files, or chain several SSRF requests in a single attacker request.

Weakness: CWE-918

Which versions are affected by CVE-2024-27927?

2 open source packages ship an affected version, including rsshub. It affects 1 product.

PackageAffectedFixed in
rsshub npmAll versions1.0.0-master.a429472
rsshub npmAll versions1.0.0-master.a429472

Products include Rsshub Rsshub.

How do I fix CVE-2024-27927?

Upgrade rsshub to 1.0.0-master.a429472 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-27927 being exploited?

There is no known exploitation of CVE-2024-27927 in the wild and no public exploit code.

Sources

Also known as GHSA-3p3p-cgj7-vgw3.

Is CVE-2024-27927 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free