GHSL-2023-186_GHSL-2023-189: Server-Side Request Forgery (SSRF) and Cross-Site Scripting (XSS) in whoogle-search - CVE-2024-22203, CVE-2024-22204, CVE-2024-22205, CVE-2024-22417
The whoogle-search application had multiple endpoints that did not validate user-supplied URLs, allowing server-side request forgery (SSRF) and reflected cross-site scripting (XSS). An attacker could make the server send requests to internal resources or reflect malicious content with a controlled content type, potentially leading to credential theft or access to internal services.
Originally disclosed on GitHub Security Lab
Whoogle-search is vulnerable to Server-Side Request Forgery (SSRFs), Cross-Site Scripting (XSS) and a limited file write vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 access internal network resources via SSRF and trick users into clicking links that lead to malicious content via XSS, potentially stealing credentials; the file write issue is limited and only if configuration options are enabled.
What the attacker needed
Victim clicks a link; configuration options enabled (for file write)
The fix
The issues were fixed according to the maintainer's reply.
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.
Whoogle-search is a privacy-focused search proxy. Some of its web addresses accepted a URL from the user and fetched it without checking where it pointed, so an attacker could make the server visit internal systems or return harmful content to a victim's browser. This is like tricking a helpful assistant into fetching something from a restricted area or delivering a package that looks safe but isn't.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.