Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-22204— Whoogle Search Limited File Write vulnerability

Quick assessment

Affected
benbusby whoogle-search
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

whoogle-search是一个应用软件。自托管,没有广告,privacy-respecting元搜索引擎 whoogle-search 0.8.4 之前版本存在路径遍历漏洞,该漏洞源于app/routes.py 中的 config 函数不会验证用户控制的 name 变量和 config_data 变量,导致文件写入。

CVSS 5.3 · Medium EPSS 0.76% · P53

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-22204

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Whoogle Search Limited File Write vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
Whoogle Search is a self-hosted metasearch engine. Versions 0.8.3 and prior have a limited file write vulnerability when the configuration options in Whoogle are enabled. The `config` function in `app/routes.py` does not validate the user-controlled `name` variable on line 447 and `config_data` variable on line 437. The `name` variable is insecurely concatenated in `os.path.join`, leading to path manipulation. The POST data from the `config_data` variable is saved with `pickle.dump` which leads to a limited file write. However, the data that is saved is earlier transformed into a dictionary and the `url` key value pair is added before the file is saved on the system. All in all, the issue allows us to save and overwrite files on the system that the application has permissions to, with a dictionary containing arbitrary data and the `url` key value, which is a limited file write. Version 0.8.4 contains a patch for this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
whoogle-search 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
whoogle-search是一个应用软件。自托管,没有广告,privacy-respecting元搜索引擎 whoogle-search 0.8.4 之前版本存在路径遍历漏洞,该漏洞源于app/routes.py 中的 config 函数不会验证用户控制的 name 变量和 config_data 变量,导致文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
benbusby whoogle-search < 0.8.4 -

II. Public POCs for CVE-2024-22204

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-22204

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-22204 (1)

Other References for CVE-2024-22204 (5)

Same Patch Batch · benbusby · 2024-01-23 · 4 CVEs total

CVE-2024-22205 9.1 CRITICAL Whoogle Search Server Side Request Forgery vulnerability
CVE-2024-22203 9.1 CRITICAL Whoogle Search Server Side Request Forgery vulnerability
CVE-2024-22417 6.1 MEDIUM Whoogle Search Cross-site Scripting vulnerability

IV. Related Vulnerabilities

V. Comments for CVE-2024-22204

No comments yet


Leave a comment