SSRF in Txtdot
CVE-2024-41812
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.007 · 53.8th percentile
- Published
- 2024-07-26
What to do
- Fixed in
1.7.0- Affected
- 1 affected product
txtdot is an HTTP proxy that parses only text, links, and pictures from pages, removing ads and heavy scripts. Prior to version 1.7.0, a Server-Side Request Forgery (SSRF) vulnerability in the `/get` route of txtdot 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. Version 1.7.0 prevents displaying the response of forged requests, but the requests can still be sent. For complete mitigation, a firewall between txtdot and other internal network resources should be set.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 53.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Txtdot — versions < 1.7.0
Weakness classification (CWE)
References
- https://github.com/TxtDot/txtdot/security/advisories/GHSA-4gj5-xj97-j8fp (Exploit, Third Party Advisory)
- https://github.com/TxtDot/txtdot/commit/7c72d985f7a26ec1fd3cf628444717ca54986d2d (Patch)
- https://github.com/TxtDot/txtdot/blob/a7fdaf80fdf45abefe83b2eb5135ba112142dc74/src/handlers/distributor.ts#L43-L47 (Patch)