{"id":"CVE-2024-10834","state":"PUBLISHED","title":"Arbitrary File Write in eosphoros-ai/db-gpt","description":"eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.","publishedAt":"2025-03-20T10:11:01.550Z","updatedAt":"2025-03-20T18:14:08.060Z","severity":{"score":9.1,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["eosphoros-ai eosphoros-ai/db-gpt"],"affected":[{"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a"],"weaknesses":["CWE-73"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/10xxx/CVE-2024-10834.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-10834","state":"PUBLISHED","datePublished":"2025-03-20T10:11:01.550Z","dateUpdated":"2025-03-20T18:14:08.060Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-11-04T23:39:32.070Z"},"containers":{"cna":{"title":"Arbitrary File Write in eosphoros-ai/db-gpt","descriptions":[{"lang":"en","value":"eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries."}],"affected":[{"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-73","type":"CWE","lang":"en","description":"CWE-73 External Control of File Name or Path"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-03-20T10:11:01.550Z"},"source":{"advisory":"0d598508-151a-4050-9ccd-31bb82955e7a","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T17:50:04.811786Z","id":"CVE-2024-10834","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T18:14:08.060Z"}}]}}}