ghsa-54f4-v6v9-9q82
Vulnerability from github
Published
2024-10-09 21:31
Modified
2024-10-09 22:09
Severity ?
6.5 (Medium) - CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
5.5 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
5.5 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Summary
open-webui allows writing and deleting arbitrary files
Details
In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "open-webui" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "0.3.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-7037" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2024-10-09T22:09:16Z", "nvd_published_at": "2024-10-09T20:15:09Z", "severity": "MODERATE" }, "details": "In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution.", "id": "GHSA-54f4-v6v9-9q82", "modified": "2024-10-09T22:09:16Z", "published": "2024-10-09T21:31:08Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-7037" }, { "type": "PACKAGE", "url": "https://github.com/open-webui/open-webui" }, { "type": "WEB", "url": "https://github.com/open-webui/open-webui/blob/main/backend/main.py#L1513" }, { "type": "WEB", "url": "https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P", "type": "CVSS_V4" } ], "summary": "open-webui allows writing and deleting arbitrary files" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.