CVE-2024-27927 RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4
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.
| Package | Affected | Fixed in |
|---|---|---|
rsshub npm | All versions | 1.0.0-master.a429472 |
rsshub npm | All versions | 1.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.
Other vulnerabilities in DIYgod RSSHub
- CVE-2023-22493 RSSHub is vulnerable to SSRF (Server-Side Request Forgery)
- CVE-2021-21278 Risk of code injection in RSSHub
- CVE-2024-27926 RSSHub Cross-site Scripting vulnerability caused by internal media proxy
- CVE-2023-26491 RSSHub is vulnerable to cross-site scripting (XSS) via unvalidated URL parameters
- CVE-2022-31110 Denial of Service (DoS) vulnerability in RSSHub
Sources
Also known as GHSA-3p3p-cgj7-vgw3.