{"id":"CVE-2023-38702","summary":"Knowage Server vulnerable to path traversal via upload functionality","details":"Knowage is an open source analytics and business intelligence suite. Starting in the 6.x.x branch and prior to version 8.1.8, the endpoint `/knowage/restful-services/dossier/importTemplateFile` allows authenticated users to upload `template file` on the server, but does not need any authorization to be reached. When the JSP file is uploaded, the attacker just needs to connect to `/knowageqbeengine/foo.jsp` to gain code execution on the server. By exploiting this vulnerability, an attacker with low privileges can upload a JSP file to the `knowageqbeengine` directory and gain code execution capability on the server. This issue has been patched in Knowage version 8.1.8.","aliases":["GHSA-7mjh-73q3-c3fc"],"modified":"2026-08-12T03:51:14.001220796Z","published":"2023-08-04T18:10:28.899Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38702.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38702.json"},{"type":"ADVISORY","url":"https://github.com/KnowageLabs/Knowage-Server/security/advisories/GHSA-7mjh-73q3-c3fc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38702"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/knowagelabs/knowage-server","events":[{"introduced":"eb0a58ddc4badcbf4502ca523cf415743c023aa0"},{"fixed":"d098e2426ba05fab5dbce0eb78c3ccca46b5912e"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:eng:knowage:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.0.0"},{"fixed":"8.1.8"},{"introduced":"6.1.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38702.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}