{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38702 exists.","fix":"No fix has been published for CVE-2023-38702 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-38702 is a critical vulnerability in KnowageLabs Knowage-Server, published on 4 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-38702 and fix it if it is affected.\n\nWhat it is: CVE-2023-38702 is a critical vulnerability in KnowageLabs Knowage-Server, published on 4 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38702 exists.\n\nAffected product: KnowageLabs Knowage-Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-38702/ (Markdown: https://insights.sbomify.com/CVE-2023-38702/index.md)","id":"CVE-2023-38702","markdown":"https://insights.sbomify.com/CVE-2023-38702/index.md","name":"CVE-2023-38702","record":{"aliases":["GHSA-7mjh-73q3-c3fc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Knowage BI suite","requires_auth":"low_privilege","summary":"Authenticated users can upload malicious JSP files to gain remote code execution on the Knowage server due to missing authorization checks.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"knowage","vendor":"eng"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Knowage Server vulnerable to path traversal via upload functionality","id":"CVE-2023-38702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"PJSIP has use-after-free vulnerability in SRTP media transport","id":"CVE-2023-38703"},"packages":[],"prev":{"headline":"Hydra's committed UTxOs at Commit validator and UTxOs at Initial validator can be spent arbitrarily by anyone","id":"CVE-2023-38701"},"products":["Knowage-Server"],"published":"2023-08-04","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2019-13188","kev_date_added":null,"published":"2019-09-05"},{"cvss_score":9.3,"headline":"Knowage Contains a Remote Code Execution Vulnerability","id":"CVE-2025-59954","kev_date_added":null,"published":"2025-09-29"},{"cvss_score":8.8,"headline":"SQL injection in n/a","id":"CVE-2021-30055","kev_date_added":null,"published":"2021-04-05"},{"cvss_score":8.8,"headline":"Information disclosure in n/a","id":"CVE-2019-13348","kev_date_added":null,"published":"2019-08-28"},{"cvss_score":7.7,"headline":"Query injection in Knowage server","id":"CVE-2023-37472","kev_date_added":null,"published":"2023-07-14"},{"cvss_score":7.2,"headline":"Knowage-Server vulnerable to account validation bypass","id":"CVE-2023-35154","kev_date_added":null,"published":"2023-06-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-08","vendors":["KnowageLabs"]},"summary":"Authenticated users can upload malicious JSP files to gain remote code execution on the Knowage server due to missing authorization checks.","url":"https://insights.sbomify.com/CVE-2023-38702/"}