CVE-2024-22203: Whoogle Search Path Traversal vulnerability

CVE-2024-22203 · Severity: low · CVSS 3.1 · Published 2024-01-23

Whoogle Search is a self-hosted metasearch engine. In versions prior to 0.8.4, the `element` method in `app/routes.py` does not validate the user-controlled `src_type` and `element_url` variables and passes them to the `send` method which sends a GET request on lines 339-343 in `request.py`, which leads to a server-side request forgery. This issue allows for crafting GET requests to internal and external resources on behalf of the server. For example, this issue would allow for accessing resources on the internal network that the server has access to, even though these resources may not be accessible on the internet. This issue is fixed in version 0.8.4.

Technologies: whoogle-search (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-22203 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-22203 being exploited in the wild.
How severe is CVE-2024-22203?
Low severity, with a CVSS score of 3.1, published 23 January 2024.
Which products and versions are affected?
whoogle-search (PyPI) ECOSYSTEM:introduced=0,fixed=0.8.4, GIT:introduced=0,fixed=3a2e0b262e4a076a20416b45e6b6f23fd265aeda|ECOSYSTEM:introduced=0,fixed=0.8.4.
Is there a fix for CVE-2024-22203?
Yes. whoogle-search (PyPI): upgrade to 0.8.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-22203?
Check whether you run whoogle-search (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • whoogle-search (PyPI): upgrade to 0.8.4 or later
    pip install "whoogle-search>=0.8.4"

Affected products

  • whoogle-search (PyPI) ECOSYSTEM:introduced=0,fixed=0.8.4, GIT:introduced=0,fixed=3a2e0b262e4a076a20416b45e6b6f23fd265aeda|ECOSYSTEM:introduced=0,fixed=0.8.4

Identifiers

  • CVE-2024-22203
  • GHSA-q97g-c29h-x2p7
  • PYSEC-2024-20

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.