{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/63066?format=json","vulnerability_id":"VCID-346t-v7fy-bub6","summary":"A path traversal vulnerability exists in the parisneo/lollms-webui, specifically within the 'copy_to_custom_personas' endpoint in the 'lollms_personalities_infos.py' file. This vulnerability allows attackers to read arbitrary files by manipulating the 'category' and 'name' parameters during the 'Copy to custom personas folder for editing' process. By inserting '../' sequences in these parameters, attackers can traverse the directory structure and access files outside of the intended directory. Successful exploitation results in unauthorized access to sensitive information.","aliases":[{"alias":"CVE-2024-2178"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://huntr.com/bounties/e585f1dd-a026-4419-8f42-5835e85fad9e","reference_id":"e585f1dd-a026-4419-8f42-5835e85fad9e","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-06-07T15:16:32Z/"}],"url":"https://huntr.com/bounties/e585f1dd-a026-4419-8f42-5835e85fad9e"}],"weaknesses":[{"cwe_id":29,"name":"Path Traversal: '..filename'","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '..filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory."}],"exploits":[],"severity_range_score":"7.5 - 7.5","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-346t-v7fy-bub6"}