PT-2024-19272 · Unknown · Whoogle Search

Sylwia Budzynska

·

Published

2024-01-18

·

Updated

2024-03-14

·

CVE-2024-22204

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Whoogle Search versions 0.8.3 and prior
Description Whoogle Search is a self-hosted metasearch engine. The issue allows for a limited file write vulnerability when configuration options are enabled. The config function in app/routes.py does not validate the user-controlled name variable and config data variable, leading to path manipulation and a limited file write. The data saved is transformed into a dictionary with arbitrary data and a url key value pair before being saved on the system. This issue enables saving and overwriting files on the system with the application's permissions.
Recommendations For versions 0.8.3 and prior, update to version 0.8.4 to resolve the issue. As a temporary workaround, consider disabling the config function in app/routes.py until a patch is available. Restrict access to the configuration options in Whoogle to minimize the risk of exploitation. Avoid using the name variable and config data variable in the affected config function until the issue is resolved.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-22204
GHSA-HH2Q-QV66-JCQG
PYSEC-2024-23

Affected Products

Whoogle Search