CVE-2024-28335: Lektor - Command Injection
- Cve: CVE-2024-28335
- Name: Lektor - Command Injection
- 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.
- Impact: Attackers can execute arbitrary shell commands on the server, potentially leading to full system compromise.
- Remediation: Update to version 3.3.11 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim's browser accesses untrusted website and sends requests to localhost port 5000 on the same machine as the lektor server.
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00842
- Epss percentile: 0.58838
- Assignee: [email protected]
- Published at: 2024-03-27T06:15:19Z
- Age in days: 972
- Modified at: 2026-06-17T07:21:20Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28335
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lektor:lektor | < 3.3.11 | no | adp_cpes | /v1/products/lektor/lektor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lektor/lektor | commit, fix, pull, releases | yes | /v1/repositories/lektor/lektor |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts