☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2023-51142

CVE-2023-51142 Information Disclosure in Zkteco
📅 PUBLISHED: 2024-03-21 00:00 UTC 🔄 UPDATED: 2026-10-02 19:30 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.73%
👁️
0.73% probability
18.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: China License: Commercial
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
7.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-51142 is an information disclosure vulnerability in ZKTeco BioTime, a biometric time and attendance management system, affecting version 8.5.4 and earlier. The flaw allows a remote, unauthenticated attacker to obtain sensitive information from the application, potentially including user credentials, employee records, and system configuration data. The vulnerability has a CVSS score of 0.0 (placeholder) but is considered high risk due to the lack of authentication required and the sensitivity of the exposed data. No official patch has been released by ZKTeco, and no public exploit code is available, though proof-of-concept details exist.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

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.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (placeholder; actual severity likely high)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: None
  • Availability Impact: None
  • Threat Level: High – Unauthenticated remote information disclosure.

Deep Dive & Mechanics

The vulnerability resides in the web interface of ZKTeco BioTime, which exposes sensitive data through improperly secured endpoints. The application fails to enforce authentication or authorization checks on certain API calls or pages, allowing an attacker to directly request and retrieve sensitive information such as:

  • Employee personal identifiable information (PII)
  • User credentials (hashed or plaintext)
  • System configuration files
  • Database connection strings

The exact mechanism involves a lack of access control on RESTful endpoints or directory traversal in the web root. An attacker can craft HTTP requests to known paths (e.g., /api/employees, /config/database.ini) without any session token or authentication header. The server responds with the requested data in JSON or plaintext format.

Vulnerable vs. Patched Code

Vulnerable Code (BioTime <= 8.5.4): The application does not validate user sessions before serving sensitive endpoints. For example, a PHP file getEmployeeData.php might directly query the database and output results without checking if the user is logged in.

<?php
// getEmployeeData.php - VULNERABLE
$employees = $db->query("SELECT * FROM employees");
echo json_encode($employees->fetchAll());
?>

Patched Code (Hypothetical): A patched version would include authentication checks and input validation.

<?php
// getEmployeeData.php - PATCHED
session_start();
if (!isset($_SESSION['user_id'])) {
    http_response_code(403);
    echo json_encode(["error" => "Unauthorized"]);
    exit;
}
$employees = $db->query("SELECT * FROM employees");
echo json_encode($employees->fetchAll());
?>

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Deploy ZKTeco BioTime v8.5.4 in a virtualized environment (e.g., VMware, VirtualBox) with default configuration.
  2. Ensure the web interface is accessible on port 80 or 443.
  3. Use a tool like Burp Suite or curl to interact with the application.

Exploitation Steps:

  1. Identify sensitive endpoints by fuzzing common paths (e.g., /api/, /config/, /backup/).
  2. Send a GET request to an unauthenticated endpoint:
curl -X GET http://target-ip:8080/api/employees -v
  1. If successful, the server returns employee data in JSON format.

Expected Output:

[
  {
    "id": 1,
    "name": "John Doe",
    "email": "john.doe@example.com",
    "role": "admin"
  }
]

Blue Team

Detection:

  • Monitor for unusual HTTP requests to sensitive paths (e.g., /api/, /config/) from unknown IPs.
  • Look for responses containing large amounts of JSON data or configuration files.
  • Use network traffic analysis to detect unauthenticated access attempts.

Mitigation:

  • Implement a Web Application Firewall (WAF) to block requests to sensitive endpoints without proper authentication.
  • Restrict access to the BioTime web interface via VPN or IP whitelisting.
  • Apply virtual patching by adding authentication checks via reverse proxy rules.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP GET requests to /api/employees, /config/database.ini, /backup/
    • Source IPs not in the allowed list accessing the BioTime web interface
  • File IOCs:
    • Unauthorized access logs showing requests to /api/ or /config/
  • Behavioral IOCs:
    • Sudden increase in outbound data from the BioTime server
    • Unusual database queries from the web application

Detection Engineering

YARA Rule

rule Detect_ZKTeco_BioTime_InfoDisclosure {
    meta:
        description = "Detects attempts to exploit CVE-2023-51142 via sensitive path access"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2023-51142"
    strings:
        $s1 = "/api/employees" ascii wide nocase
        $s2 = "/config/database.ini" ascii wide nocase
        $s3 = "/backup/" ascii wide nocase
    condition:
        any of them
}

Sigma Rule

title: ZKTeco BioTime Information Disclosure Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests targeting sensitive paths in ZKTeco BioTime
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-stem:
            - '/api/employees'
            - '/config/database.ini'
            - '/backup/'
    condition: selection
falsepositives:
    - Legitimate admin access from trusted IPs
level: high

Suricata Rule

alert http any any -> any any (msg:"ZKTeco BioTime Information Disclosure Attempt"; flow:to_server; content:"GET"; http_method; content:"/api/employees"; http_uri; nocase; sid:1000001; rev:1;)
alert http any any -> any any (msg:"ZKTeco BioTime Config Access Attempt"; flow:to_server; content:"GET"; http_method; content:"/config/database.ini"; http_uri; nocase; sid:1000002; rev:1;)
alert http any any -> any any (msg:"ZKTeco BioTime Backup Access Attempt"; flow:to_server; content:"GET"; http_method; content:"/backup/"; http_uri; nocase; sid:1000003; rev:1;)

Remediation & Mitigation

  • Immediate: Restrict network access to the BioTime web interface using firewall rules or VPN. Disable unnecessary services.
  • Short-term: Implement a reverse proxy (e.g., Nginx) to add authentication headers for all requests to sensitive paths.
  • Long-term: Contact ZKTeco for an official patch or consider migrating to a supported alternative. Conduct a security audit of the application.
  • Compensating Controls: Use a WAF to block unauthenticated requests to known sensitive endpoints. Enable detailed logging and monitoring.

Valters IT
DevSecOps & Cyber Threat Intelligence

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-51142/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.