CVE-2020-15271: lookatme - Command Injection
- Cve: CVE-2020-15271
- Name: lookatme - Command Injection
- Description: In lookatme (python/pypi package) versions prior to 2.3.0, the package automatically loaded the built-in "terminal" and "file_loader" extensions. Users that use lookatme to render untrusted markdown may have malicious shell commands automatically run on their system. This is fixed in version 2.3.0. As a workaround, the `lookatme/contrib/terminal.py` and `lookatme/contrib/file_loader.py` files may be manually deleted. Additionally, it is always recommended to be aware of what is being rendered with lookatme.
- Impact: Attackers can execute arbitrary shell commands on the system by maliciously crafted markdown content.
- Remediation: Update to version 2.3.0 or later. As a workaround, manually delete lookatme/contrib/terminal.py and lookatme/contrib/file_loader.py files.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to provide malicious markdown content
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0231
- Epss percentile: 0.83816
- Assignee: [email protected]
- Published at: 2020-10-26T18:15:14Z
- Age in days: 2220
- Modified at: 2026-06-17T02:56:23Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15271
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/d0c-s4vage/lookatme/pull/110 | nvd | 2020-10-26 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84 | Patch, Third Party Advisory |
| https://github.com/d0c-s4vage/lookatme/pull/110 | Exploit, Third Party Advisory |
| https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0 | Release Notes, Third Party Advisory |
| https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q | Third Party Advisory |
| https://pypi.org/project/lookatme/#history | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lookatme_project:lookatme | < 2.3.0 | no | nvd | /v1/products/lookatme_project/lookatme |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| d0c-s4vage/lookatme | commit, package, pull, releases, security_advisory | yes | /v1/repositories/d0c-s4vage/lookatme |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-10-26
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts