{"id":"CVE-2024-7099","state":"PUBLISHED","title":"SQL Injection in netease-youdao/qanything","description":"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.","publishedAt":"2024-10-13T21:09:53.816Z","updatedAt":"2024-10-15T14:56:00.675Z","severity":{"score":9.8,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["netease-youdao netease-youdao/qanything"],"affected":[{"vendor":"netease-youdao","product":"netease-youdao/qanything","versions":[{"version":"unspecified","status":"affected","lessThan":"1.4.2","versionType":"custom"}]}],"references":["https://huntr.com/bounties/bc98983e-06cc-4a4b-be01-67e5010cb2c1","https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7099.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7099","state":"PUBLISHED","datePublished":"2024-10-13T21:09:53.816Z","dateUpdated":"2024-10-15T14:56:00.675Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-07-25T09:33:45.994Z"},"containers":{"cna":{"title":"SQL Injection in netease-youdao/qanything","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","status":"affected","lessThan":"1.4.2","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":[{"cweId":"CWE-89","type":"CWE","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-10-13T21:09:53.816Z"},"source":{"advisory":"bc98983e-06cc-4a4b-be01-67e5010cb2c1","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"netease","product":"qanything","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.4.2","versionType":"custom"}],"cpes":["cpe:2.3:a:netease:qanything:*:*:*:*:*:*:*:*"]}],"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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-15T14:56:00.675Z"}}]}}}