{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7099","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-07-25T09:33:45.994Z","datePublished":"2024-10-13T21:09:53.816Z","dateUpdated":"2024-10-15T14:56:00.675Z"},"containers":{"cna":{"title":"SQL Injection in netease-youdao/qanything","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-10-13T21:09:53.816Z"},"descriptions":[{"lang":"en","value":"netease-youdao/qanything version 1.4.1 contains a vulnerability where unsafe data obtained from user input is concatenated in SQL queries, leading to SQL injection. The affected functions include `get_knowledge_base_name`, `from_status_to_status`, `delete_files`, and `get_file_by_status`. An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially stealing information from the database. The issue is fixed in version 1.4.2."}],"affected":[{"vendor":"netease-youdao","product":"netease-youdao/qanything","versions":[{"version":"unspecified","lessThan":"1.4.2","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/bc98983e-06cc-4a4b-be01-67e5010cb2c1"},{"url":"https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command","cweId":"CWE-89"}]}],"source":{"advisory":"bc98983e-06cc-4a4b-be01-67e5010cb2c1","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"netease","product":"qanything","cpes":["cpe:2.3:a:netease:qanything:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.4.2","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-14T15:32:53.357493Z","id":"CVE-2024-7099","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-10-15T14:56:00.675Z"}}]}}