NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-28335: Lektor does not sanitize database path traversal

criticalCVSS 4.0 9.3 · 3.1 9.1GHSA-wv28-7fpw-fj49

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.

Published Mar 27, 2024 · Updated Aug 6, 2024

Affected packages

Lektor

Ecosystem
PyPI
Affected
>= 0, < 3.3.11
Fixed in
3.3.11
Check
pip show Lektor

Lektor

Ecosystem
PyPI
Affected
>= 3.4.0b1, < 3.4.0b11
Fixed in
3.4.0b11
Check
pip show Lektor

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology