CVE-2019-12739: Nextcloud Extract - Command Injection
- Cve: CVE-2019-12739
- Name: Nextcloud Extract - Command Injection
- Description: lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution via shell metacharacters in a RAR filename via ajax/extractRar.php (nameOfFile and directory parameters).
- Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 1.2.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02508
- Epss percentile: 0.85157
- Assignee: [email protected]
- Published at: 2019-06-05T14:29:11Z
- Age in days: 2729
- Modified at: 2026-06-17T02:15:21Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-12739
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/546753 | nvd | 2019-06-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://hackerone.com/reports/546753 | nvd | Exploit, Third Party Advisory |
| https://www.secsignal.org/news/a-tale-of-rce-nextcloud-extract-app/ | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nextcloud:extract | < 1.2.0 | no | nvd | /v1/products/nextcloud/extract |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-06-05
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts