Path TraversalWeakness · CWE-22

CVE-2024-23774

HIGH · 7.8 CVSS v3.1 Published 2024-04-30
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
80/100
Remediation priority · High
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in Quest KACE Agent for Windows 12.0.38 and 13.1.23.0. An unquoted Windows search path vulnerability exists in the KSchedulerSvc.exe and AMPTools.exe components. This allows local attackers to execute code of their choice with NT Authority\SYSTEM privileges.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

An unquoted Windows search path vulnerability in Quest KACE Agent's KSchedulerSvc.exe and AMPTools.exe components allows local attackers to execute arbitrary code with NT Authority\SYSTEM privileges. When service executable paths contain spaces and are unquoted, Windows searches for executables in intermediate path directories before the intended binary, enabling privilege escalation via path injection.

MitigationApply vendor patches from Quest for KACE Agent versions 12.0.38 and 13.1.23.0, or as a workaround, verify service binary paths are properly quoted and restrict write permissions on directories in the service executable path to prevent unauthorized binary placement.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if KACE Agent services are present
    Run 'sc query KSchedulerSvc' and 'sc query AMPTools' from an elevated command prompt to query the Windows service control manager for these specific services.
    Affected if Either service is returned by sc query (service not found means not affected)
  2. Verify KSchedulerSvc executable path
    Run 'sc qc KSchedulerSvc' to retrieve the service binary path configuration, then inspect the BINPATH value for the KSchedulerSvc.exe executable.
    Affected if BINPATH contains a path to KSchedulerSvc.exe that is unquoted and contains spaces (e.g., C:\Program Files\KACE\...)
  3. Verify AMPTools executable path
    Run 'sc qc AMPTools' to retrieve the service binary path configuration, then inspect the BINPATH value for the AMPTools.exe executable.
    Affected if BINPATH contains a path to AMPTools.exe that is unquoted and contains spaces
  4. Check for path injection risk
    Inspect each unquoted path for intermediate directories (folders between the drive letter and the .exe filename) that contain spaces. List the full directory structure for each service binary.
    Affected if Any intermediate directory in the path contains a space and the entire path is not enclosed in quotation marks

You are affected if Quest KACE Agent is installed with KSchedulerSvc or AMPTools services configured with unquoted executable paths that contain spaces in any directory component before the .exe filename.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply vendor patches from Quest for KACE Agent versions 12.0.38 and 13.1.23.0, or as a workaround, verify service binary paths are properly quoted and restrict write permissions on directories in the service executable path to prevent unauthorized binary placement.

Recommended fix Moderate confidence

Latest Quest KACE Agent version (contact Quest support for specific build number containing the fix)

  1. 1. Identify the currently installed Quest KACE Agent version by checking the system or using the KACE inventory.
  2. 2. Navigate to Quest KACE support portal (support.quest.com) or official download page (www.quest.com) to obtain the latest version.
  3. 3. Download the latest Quest KACE Agent version that includes the security fix for CVE-2024-23774.
  4. 4. Follow Quest's standard upgrade procedure for KACE Agent, which typically involves using the KACE SMA or SDA console for deployment.
  5. 5. After upgrade, verify the KSchedulerSvc.exe and AMPTools.exe services use properly quoted paths in their service configuration.
  6. 6. Confirm the new version is running and no longer vulnerable to the unquoted path issue.
Caveat Review Quest KACE release notes for any compatibility considerations or changes in functionality between versions 12.x/13.x and the fixed release

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation2.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,440
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,304.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-23774 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-23774 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data