{"id":"CVE-2023-45826","state":"PUBLISHED","title":"Authenticated SQL Injection in leantime","description":"Leantime is an open source project management system. A 'userId' variable in `app/domain/files/repositories/class.files.php` is not parameterized. An authenticated attacker can send a carefully crafted POST request to `/api/jsonrpc` to exploit an SQL injection vulnerability. Confidentiality is impacted as it allows for dumping information from the database. This issue has been addressed in version 2.4-beta-4. Users are advised to upgrade. There are no known workarounds for this vulnerability.","publishedAt":"2023-10-19T18:28:54.167Z","updatedAt":"2024-09-12T17:51:49.888Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Leantime leantime"],"affected":[{"vendor":"Leantime","product":"leantime","versions":[{"version":"< 2.4-beta-4","status":"affected"}]}],"references":["https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj","https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/45xxx/CVE-2023-45826.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-45826","state":"PUBLISHED","datePublished":"2023-10-19T18:28:54.167Z","dateUpdated":"2024-09-12T17:51:49.888Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-13T12:00:50.439Z"},"containers":{"cna":{"title":"Authenticated SQL Injection in leantime","descriptions":[{"lang":"en","value":"Leantime is an open source project management system. A 'userId' variable in `app/domain/files/repositories/class.files.php` is not parameterized. An authenticated attacker can send a carefully crafted POST request to `/api/jsonrpc` to exploit an SQL injection vulnerability. Confidentiality is impacted as it allows for dumping information from the database. This issue has been addressed in version 2.4-beta-4. Users are advised to upgrade. There are no known workarounds for this vulnerability."}],"affected":[{"vendor":"Leantime","product":"leantime","versions":[{"version":"< 2.4-beta-4","status":"affected"}]}],"references":[{"url":"https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj","name":"https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0","name":"https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-10-19T18:28:54.167Z"},"source":{"advisory":"GHSA-559g-3h98-g3fj","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj","name":"https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0","name":"https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:29:32.545Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-12T17:39:53.755092Z","id":"CVE-2023-45826","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:51:49.888Z"}}]}}}