Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13757

CVE-2025-13757: Devolutions Server SQLi Vulnerability

CVE-2025-13757 is a SQL injection vulnerability in Devolutions Server affecting last usage logs. Attackers can exploit this flaw to manipulate database queries. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2025-13757 Overview

CVE-2025-13757 is a SQL Injection vulnerability [CWE-89] affecting Devolutions Server, a centralized password management and privileged access platform. The flaw exists in the last usage logs feature and allows authenticated attackers to inject arbitrary SQL statements into backend database queries. Successful exploitation can compromise confidentiality, integrity, and availability of stored credentials and session data. The vulnerability affects Devolutions Server through versions 2025.2.20 and 2025.3.8. Devolutions published advisory DEVO-2025-0018 to address the issue.

Critical Impact

Authenticated network attackers can execute arbitrary SQL queries against the Devolutions Server database, potentially exfiltrating stored secrets, modifying records, or disrupting the privileged access management service.

Affected Products

  • Devolutions Server versions through 2025.2.20
  • Devolutions Server versions through 2025.3.8
  • Devolutions Server last usage logs component

Discovery Timeline

  • 2025-11-27 - CVE-2025-13757 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2025-13757

Vulnerability Analysis

The vulnerability resides in the last usage logs functionality of Devolutions Server. User-controlled input is incorporated into SQL queries without proper parameterization or sanitization. An authenticated attacker with low privileges can craft input that breaks out of the intended query context and appends attacker-controlled SQL.

Devolutions Server stores sensitive material including passwords, API keys, and privileged session metadata. SQL Injection against this component grants direct query access to that data store. The attack does not require user interaction and operates over the network.

The issue is classified under [CWE-89]: Improper Neutralization of Special Elements used in an SQL Command. The EPSS probability for near-term exploitation is 0.515%.

Root Cause

The root cause is improper neutralization of special characters in SQL statements constructed by the last usage logs handler. Input flowing into log query parameters is concatenated into SQL rather than bound through parameterized statements. This permits an attacker to alter query syntax and execute arbitrary SQL.

Attack Vector

Exploitation requires network access to the Devolutions Server web interface or API and a valid low-privilege account. The attacker submits crafted input through the request path that feeds the last usage logs query. The injected SQL executes with the privileges of the application's database account, which typically has broad access to vault tables and audit data. Refer to the Devolutions Security Advisory DEVO-2025-0018 for vendor-specified affected endpoints.

Detection Methods for CVE-2025-13757

Indicators of Compromise

  • Unusual SQL syntax characters such as ', --, ;, UNION, or SELECT appearing in HTTP request parameters targeting Devolutions Server endpoints.
  • Database errors or stack traces in Devolutions Server application logs referencing the last usage logs queries.
  • Unexpected outbound database connections or large result set transfers from the Devolutions Server application account.
  • Audit log entries showing access to vault entries or credentials inconsistent with the authenticated user's normal activity.

Detection Strategies

  • Inspect web server and application logs for requests to last usage logs endpoints containing SQL meta-characters or encoded payloads.
  • Enable database-level query logging and alert on syntactically anomalous queries originating from the Devolutions Server service account.
  • Deploy a Web Application Firewall ruleset with SQL Injection signatures in front of the Devolutions Server interface.

Monitoring Recommendations

  • Forward Devolutions Server and database logs to a centralized SIEM and correlate authentication events with sensitive query patterns.
  • Alert on failed-then-successful SQL queries from the same authenticated session, which can indicate injection probing.
  • Monitor for privilege changes, new administrator accounts, or bulk credential reads following any suspicious request to log endpoints.

How to Mitigate CVE-2025-13757

Immediate Actions Required

  • Upgrade Devolutions Server to a fixed release published after 2025.2.20 and 2025.3.8 per the vendor advisory.
  • Restrict network access to the Devolutions Server management interface to trusted administrative networks only.
  • Rotate credentials and secrets stored in the vault if compromise is suspected, prioritizing privileged and service accounts.
  • Review audit logs for any anomalous access to vault entries since the deployment of the affected versions.

Patch Information

Devolutions has released fixed versions addressing the SQL Injection in the last usage logs component. Administrators should consult the Devolutions Security Advisory DEVO-2025-0018 for the specific fixed build numbers and upgrade instructions. Apply the patch in a maintenance window after backing up the database.

Workarounds

  • If immediate patching is not possible, limit access to the affected log views through role-based access controls and remove the privilege from non-administrative users.
  • Place the Devolutions Server behind a Web Application Firewall configured to block common SQL Injection patterns targeting the last usage logs endpoints.
  • Configure the database account used by Devolutions Server with the minimum privileges required for normal operation.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.