Join our Newsletter — 33% off our NHI Course

How do you patch or mitigate CVE-2023-38950 (ZKTeco BioTime Path Traversal)?

CISA’s required action for CVE-2023-38950 is to apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. In practice, find every instance of ZKTeco BioTime in your estate, apply the vendor security update or documented mitigation, and if no fix can be applied, remove internet exposure or take the product out of service.

What you should do first when patching CVE-2023-38950

Start by confirming every BioTime deployment, not just the internet-facing one you already know about. Inventory the product across production, test, vendor-hosted, and forgotten pilot environments, then compare those instances against the CISA Known Exploited Vulnerabilities Catalog and the vendor’s advisory so you are working from the current remediation path.

When the vendor provides a security update or documented mitigation, treat that as the primary fix path and verify it was actually applied on each instance. If the deployment sits in a hosted or cloud-managed environment, the required-action language in CISA’s guidance means you should align your response with provider-side remediation, not assume the platform owner has already handled it.

How to mitigate if you cannot patch immediately

If the fix cannot be applied right away, reduce exposure before you do anything else. That usually means removing public reachability, restricting access to trusted management paths, and limiting which systems can reach the BioTime service while you wait for a supported mitigation or replacement.

The safest short-term answer is to make the vulnerable service harder to reach and easier to isolate. For this class of flaw, exposure reduction is often the difference between a contained issue and a trivial internet-facing exploitation path. Use this interim period to decide whether the instance can remain in service at all, because CISA’s required action allows discontinuing use of the product when mitigation is unavailable.

Public-facing remote access systems are especially important to review because attackers commonly target them for easy entry, persistence, or follow-on access. Guidance on web application attacks is useful here because traversal flaws often become dangerous when exposed through the web layer and reachable from untrusted networks.

How to validate repair and look for earlier compromise

After mitigation, verify that the affected path is no longer reachable in the way the exploit requires, and then check whether the service was touched before you closed it off. Review web and application logs, unusual file reads, unexpected downloads, error spikes, and any sign that a request escaped its intended directory boundary.

If the system exposed data before you fixed it, treat credential and session review as part of the response. A traversal issue may not always mean secret theft, but any sensitive file exposure should trigger a practical review of adjacent assets, including configuration files, backups, and administrative credentials stored near the application. Pair that with compromise hunting using your broader vulnerability response process, as described in the Zero-Day and Exploited Vulnerabilities Guide.

Risk and Threat Considerations

Path traversal becomes material when a remote user can reach files outside the intended application boundary, especially on a product that is exposed to the internet or reachable by many internal users. The risk is not just unauthorized file read, but also disclosure of configuration material that can widen the blast radius of a later compromise.

Failure mechanism: The attacker supplies a crafted path that the application fails to normalise or constrain, allowing access to files outside the expected directory. If sensitive files, backups, or configuration data are adjacent to the web root or otherwise accessible to the process, the flaw can expose information the product was never meant to serve.

Impact: Exposure can lead to account takeover, disclosure of application secrets, and additional compromise opportunities if the leaked data enables broader access. In environments where the system is internet-facing, the exploit path may be low effort and repeatable until the service is patched or taken offline.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
CIS Controls v8 CIS-7 — Continuous Vulnerability Management CVE remediation depends on finding and fixing the vulnerable BioTime instances.
Recommendation — Prioritise exposed BioTime assets in your vulnerability management workflow and verify remediation completion.
NIST SP 800-53 Rev 5 RA-5 — Vulnerability Monitoring and Scanning The answer requires confirming exposure and validating mitigation across the estate.
SI-2 — Flaw Remediation The core action is applying the vendor fix or documented mitigation.
AC-4 — Information Flow Enforcement When patching must wait, limiting reachability reduces exploitability and blast radius.
Recommendation — Scan for BioTime instances, confirm the vulnerable condition, and track closure of the finding. Apply the vendor security update or approved mitigation and document exception handling if patching is delayed. Restrict network access to the vulnerable service until the fix is verified.
OWASP ASVS V15 — Secure Coding and Architecture Path traversal is an application-layer input handling and boundary enforcement failure.
V14 — Data Protection The flaw can expose sensitive files and configuration data if traversal succeeds.
Recommendation — Validate path normalisation and directory restrictions in the affected application flow. Treat file exposure as a data-protection issue and verify that secrets are not reachable through the path.

Practitioner Guidance

What to verify: Confirm that the mitigation is effective on every deployed instance, not just the primary server. Re-test the exact access path the advisory describes, then confirm that public exposure has been removed or materially constrained if the product remains online.

Decision rule: If you cannot prove the fix is in place, treat the system as still vulnerable. If the vendor workaround is incomplete or operationally unsafe, remove the service from exposure rather than leaving a known exploitable path in production.

What good looks like: The product is inventoried, patched or mitigated, no longer broadly reachable, and monitored for any evidence of prior access. If the environment cannot meet that bar, discontinuing use is the more defensible choice than accepting open exposure.

Practitioner takeaway: For an actively relevant traversal flaw, the right sequence is inventory, remediate, verify, then hunt for exposure, do not wait for proof of exploitation before you reduce the attack surface.