Sonatype Nexus Repository Manager
Sonatype Nexus Repository Manager Incorrect Access Control Vulnerability
Sonatype Nexus Repository Manager before 3.15.0 has Incorrect Access Control.
First public PoC
25 days beforebefore publication · 24 Feb 2019
Public PoCs76 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-noinfo
CISA KEV
10 Dec 20212.7 years after publication
Timeline
Days relative to CVE publicationFirst public PoC 25 days before publication; added to CISA KEV 2.7 years after publication. First PoC: mpgn/CVE-2019-7238 (created 24 Feb 2019, found by us: backfilled).
PoC repositories
Found on GitHub.6 PoCs · 1 informational · 1 suspicious or fake
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mpgn/CVE-2019-7238 | 24 Feb 2019 −25 d | 154 | PoC |
| verctor/nexus_rce_CVE-2019-7238 | 26 Jul 2019 +127 d | 38 | PoC |
| zhangchi991022/Comprehensive-experiment-of-infomation-security | 20 Jan 2021 +1.8 y | 7 | PoC via PoC Index |
| smallpiggy/CVE-2019-7238 | 20 May 2021 +2.2 y | 1 | PoC |
| DannyRavi/nmap-scripts | 20 Apr 2025 +6.1 y | 2 | PoC via PoC Index |
| CyberCTF/vulhub-nexus-cve-2019-7238 | 8 Oct 2026 +7.6 y | 0 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| magicming200/CVE-2019-7238_Nexus_RCE_Tool | 10 Jan 2020 +295 d | 25 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jas502n/CVE-2019-7238 | 21 May 2019 +61 d | 85 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Sonatype Nexus Repository Manager <3.15.0 - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 6 PoC reposPOST /service/extdirect
- Key headers
Accept: */*X-Requested-With: XMLHttpRequest- Body markers
"action":"coreui_Component""method":"previewAssets""data""page""start""limit""sort""property":"name""direction":"ASC""filter""property":"repositoryName""value":"*""property":"expression""value":"233.class.forName('java.lang.Runtime').getRuntime().exec('touch /tmp/success')""property":"type""value":"jexl""type":"rpc""tid""value"inapplication/json- Ports
- 8081
- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0- Seen in
- 4 repos: CyberCTF/vulhub-nexus-cve-2019-7238, mpgn/CVE-2019-7238, verctor/nexus_rce_CVE-2019-7238, zhangchi991022/Comprehensive-experiment-of-infomation-security
- Evidence
- CyberCTF/vulhub-nexus-cve-2019-7238/app/README.md:37 CyberCTF/vulhub-nexus-cve-2019-7238/app/README.zh-cn.md:33 mpgn/CVE-2019-7238/CVE-2019-7238.py:39 mpgn/CVE-2019-7238/CVE-2019-7238.py:57 mpgn/CVE-2019-7238/CVE-2019-7238.py:65 mpgn/CVE-2019-7238/CVE-2019-7238.py:74
GET /service/extdirect)
- Ports
- 8081
- Seen in
- 1 repo: CyberCTF/vulhub-nexus-cve-2019-7238
- Evidence
- CyberCTF/vulhub-nexus-cve-2019-7238/checks/version.sh:5
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
POST /service/extdirect
(?i)^/service/extdirect(?:[?#].*)?$
GET /service/extdirect)
(?i)^/service/extdirect\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
POST /service/extdirect
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2019-7238 Sonatype Nexus Repository Manager exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/service/extdirect"; http.header; content:"Accept: */*"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"|22|action|22|:|22|coreui_Component|22|"; http.request_body; content:"|22|method|22|:|22|previewAssets|22|"; http.request_body; content:"|22|data|22|"; http.request_body; content:"|22|page|22|"; http.request_body; content:"|22|start|22|"; http.request_body; content:"|22|limit|22|"; http.request_body; content:"|22|sort|22|"; http.request_body; content:"|22|property|22|:|22|name|22|"; http.request_body; content:"|22|direction|22|:|22|ASC|22|"; http.request_body; content:"|22|filter|22|"; http.request_body; content:"|22|property|22|:|22|repositoryName|22|"; http.request_body; content:"|22|value|22|:|22|*|22|"; http.request_body; content:"|22|property|22|:|22|expression|22|"; http.request_body; content:"|22|value|22|:|22|233.class.forName('java.lang.Runtime').getRuntime().exec('touch /tmp/success')|22|"; http.request_body; content:"|22|property|22|:|22|type|22|"; http.request_body; content:"|22|value|22|:|22|jexl|22|"; http.request_body; content:"|22|type|22|:|22|rpc|22|"; http.request_body; content:"|22|tid|22|"; http.request_body; content:"|22|value|22|"; reference:url,poc.griffinguard.io/cve/CVE-2019-7238; classtype:web-application-attack; sid:9091416; rev:1;)
GET /service/extdirect)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2019-7238 Sonatype Nexus Repository Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/service/extdirect)"; reference:url,poc.griffinguard.io/cve/CVE-2019-7238; classtype:web-application-attack; sid:9650275; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
POST /service/extdirect
title: Sonatype Nexus Repository Manager exploit attempt (CVE-2019-7238)
id: gg-pocmon-cve-2019-7238-9091416
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-7238. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-7238
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/service/extdirect'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2019.7238
GET /service/extdirect)
title: Sonatype Nexus Repository Manager exploit attempt (CVE-2019-7238)
id: gg-pocmon-cve-2019-7238-9650275
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-7238. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-7238
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/service/extdirect)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2019.7238