{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37472 exists.","fix":"No fix has been published for CVE-2023-37472 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-37472 is a high-severity SQL injection vulnerability in KnowageLabs Knowage-Server, published on 14 Jul 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-37472 and fix it if it is affected.\n\nWhat it is: CVE-2023-37472 is a high-severity SQL injection vulnerability in KnowageLabs Knowage-Server, published on 14 Jul 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-37472 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-37472/ (Markdown: https://insights.sbomify.com/CVE-2023-37472/index.md)","id":"CVE-2023-37472","markdown":"https://insights.sbomify.com/CVE-2023-37472/index.md","name":"CVE-2023-37472","record":{"aliases":["GHSA-2j3f-f696-7rgj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Knowage business analytics","requires_auth":"low_privilege","summary":"An authenticated attacker can inject SQL via unsanitized HQL queries to retrieve sensitive database information, including credentials.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"knowage","vendor":"eng"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Knowage is an open source suite for business analytics. The application often use user supplied data to create HQL queries without prior sanitization. An attacker can create specially crafted HQL queries that will break subsequent SQL queries generated by the Hibernate engine. The endpoint `_/knowage/restful-services/2.0/documents/listDocument_` calls the `_countBIObjects_` method of the `_BIObjectDAOHibImpl_` object with the user supplied `_label_` parameter without prior sanitization. This can lead to SQL injection in the backing database. Other injections have been identified in the application as well. An authenticated attacker with low privileges could leverage this vulnerability in order to retrieve sensitive information from the database, such as account credentials or business information. This issue has been addressed in version 8.1.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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":"Query injection in Knowage server","id":"CVE-2023-37472","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Limited code execution in zenstruck/collections","id":"CVE-2023-37473"},"packages":[],"prev":{"headline":"User impersonation using SAMLv1.x SSO in Open Access Management","id":"CVE-2023-37471"},"products":["Knowage-Server"],"published":"2023-07-14","related":[{"cvss_score":10,"headline":"Knowage Server vulnerable to path traversal via upload functionality","id":"CVE-2023-38702","kev_date_added":null,"published":"2023-08-04"},{"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.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":"partial"},"state":"PUBLISHED","updated":"2024-10-30","vendors":["KnowageLabs"]},"summary":"An authenticated attacker can inject SQL via unsanitized HQL queries to retrieve sensitive database information, including credentials.","url":"https://insights.sbomify.com/CVE-2023-37472/"}