GHSA-q97g-c29h-x2p7

Suggest an improvement
Source
https://github.com/advisories/GHSA-q97g-c29h-x2p7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-q97g-c29h-x2p7/GHSA-q97g-c29h-x2p7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q97g-c29h-x2p7
Aliases
Published
2024-03-14T20:37:57Z
Modified
2024-03-14T20:56:43.527296Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Whoogle Search Path Traversal vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-01-23T18:15:18Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-03-14T20:37:57Z"
}
References

Affected packages

PyPI / whoogle-search

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.4

Affected versions

0.*

0.1.0
0.1.3
0.1.4
0.2.0
0.2.1
0.3.0
0.3.1
0.3.2
0.4.0
0.4.1
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.6.0
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.8.0
0.8.1
0.8.2
0.8.3