{"id":"CVE-2024-28335","state":"PUBLISHED","title":"Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser ac","description":"Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the \"lektor server\" command.","publishedAt":"2024-03-27T00:00:00.000Z","updatedAt":"2024-08-06T15:08:26.792Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800","https://github.com/lektor/lektor/releases/tag/v3.3.11","https://cxsecurity.com/issue/WLB-2024030043","https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html","https://getlektor.com/docs/quickstart","https://brave.com/privacy-updates/27-localhost-permission/"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28335.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28335","state":"PUBLISHED","datePublished":"2024-03-27T00:00:00.000Z","dateUpdated":"2024-08-06T15:08:26.792Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2024-03-08T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the \"lektor server\" command."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800"},{"url":"https://github.com/lektor/lektor/releases/tag/v3.3.11"},{"url":"https://cxsecurity.com/issue/WLB-2024030043"},{"url":"https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html"},{"url":"https://getlektor.com/docs/quickstart"},{"url":"https://brave.com/privacy-updates/27-localhost-permission/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-03-27T06:02:15.511Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800","tags":["x_transferred"]},{"url":"https://github.com/lektor/lektor/releases/tag/v3.3.11","tags":["x_transferred"]},{"url":"https://cxsecurity.com/issue/WLB-2024030043","tags":["x_transferred"]},{"url":"https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html","tags":["x_transferred"]},{"url":"https://getlektor.com/docs/quickstart","tags":["x_transferred"]},{"url":"https://brave.com/privacy-updates/27-localhost-permission/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:48:49.674Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lektor","product":"lektor","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.3.11","versionType":"custom"}],"cpes":["cpe:2.3:a:lektor:lektor:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-08-06T15:03:17.865791Z","id":"CVE-2024-28335","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-06T15:08:26.792Z"}}]}}}