6.5medium
RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.04% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3p3p-cgj7-vgw3
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DIYgod RSSHub | < 1.0.0-master.a429472 | CVE List |
| rsshub rsshub | before 1.0.0-master.a429472 | CVE List, NVD |
| rsshub (npm) | before 1.0.0-master.a429472 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
Serveral Server-Side Request Forgery (SSRF) vulnerabilities in RSSHub allow 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.
Details
/mastodon/acct/:acct/statuses/:only_media?
/zjol/paper/:id?
/m4/:id?/:category*
PoC
- https://rsshub.app/mastodon/acct/test@a6wt15r2.requestrepo.com%23/statuses
- https://rsshub.app/zjol/paper/a6wt15r2.requestrepo.com%23
- https://rsshub.app/m4/a6wt15r2.requestrepo.com%23/test
Impact
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.
- Retrieve information in the internal network. e.g. which addresses/ports are accessible, the titles and meta descriptions of HTML pages.
- DoS amplification. The attacker could request the server to download some large files, or chain several SSRF requests in a single attacker request:
https://rsshub.a.com/zjol/paper/rsshub.b.net%2Fzjol%2Fpaper%2Frsshub.a.com%252Fzjol%252Fpaper%252Frsshub.b.net%25252Fzjol%25252Fpaper%25252Frsshub.a.com%2525252Fzjol%2525252Fpaper%2525252Fexample.com%2525252523%25252523%252523%2523%23.
NVD (es)
RSSHub es un generador de fuentes RSS de código abierto. Antes de la versión 1.0.0-master.a429472, RSSHub permitía a atacantes remotos utilizar el servidor como proxy para enviar solicitudes HTTP GET a objetivos arbitrarios y recuperar información en la red interna o realizar ataques de Denegación de Servicio (DoS). El atacante puede enviar solicitudes maliciosas a un servidor RSSHub para hacer que el servidor envíe solicitudes HTTP GET a destinos arbitrarios y vea respuestas parciales. Esto puede provocar la filtración de la dirección IP del servidor, que podría estar oculta detrás de una CDN; recuperar información en la red interna, por ejemplo qué direcciones/puertos son accesibles, los títulos y meta descripciones de páginas HTML; y denegación de amplificación del servicio. El atacante podría solicitar al servidor que descargue algunos archivos grandes o encadenar varias solicitudes SSRF en una sola solicitud del atacante.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27927 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3p3p-cgj7-vgw3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-27927 changed 2026-06-17 | Public domain |