The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-1012

CVE-2024-1012: Whir Ezoffice SQL Injection Vulnerability

CVE-2024-1012 is a critical SQL injection vulnerability in Whir Ezoffice 11.1.0 affecting the wf_printnum.jsp file. Remote attackers can exploit the recordId parameter to execute malicious SQL queries. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 8, 2026

CVE-2024-1012 Overview

A critical SQL injection vulnerability has been identified in Wanhu ezOFFICE version 11.1.0. This vulnerability exists in the file defaultroot/platform/bpm/work_flow/operate/wf_printnum.jsp, where improper handling of the recordId parameter allows attackers to inject malicious SQL queries. The vulnerability can be exploited remotely without authentication, potentially leading to unauthorized access to sensitive database contents, data manipulation, and complete system compromise.

Critical Impact

Remote attackers can exploit this SQL injection vulnerability to extract sensitive data, modify database contents, or potentially achieve complete system compromise without requiring authentication.

Affected Products

  • Wanhu ezOFFICE 11.1.0
  • whir ezoffice (cpe:2.3:a:whir:ezoffice:11.1.0:::::::*)

Discovery Timeline

  • 2024-01-31 - CVE-2024-1012 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-1012

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) affects the workflow printing functionality within Wanhu ezOFFICE. The vulnerable JSP file wf_printnum.jsp fails to properly sanitize user-supplied input through the recordId parameter before incorporating it into SQL queries. This lack of input validation allows attackers to manipulate the database query structure by injecting malicious SQL statements.

The attack surface is particularly concerning because the vulnerability can be exploited over the network without any user interaction or prior authentication. Successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the underlying database system.

Root Cause

The root cause of this vulnerability is improper input validation and the lack of parameterized queries in the wf_printnum.jsp file. The recordId parameter is directly concatenated into SQL queries without proper sanitization or the use of prepared statements, allowing attackers to escape the intended query context and execute arbitrary SQL commands.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can craft malicious HTTP requests targeting the vulnerable JSP endpoint with specially crafted recordId parameter values containing SQL injection payloads.

The vulnerability allows remote exploitation through the following path: defaultroot/platform/bpm/work_flow/operate/wf_printnum.jsp. By manipulating the recordId parameter, attackers can inject SQL commands that the database server will execute with the application's privileges.

Technical details and proof-of-concept information have been publicly disclosed. Researchers have documented the SQL injection technique in a GitHub PoC Repository, and additional analysis is available via VulDB Analysis #252281.

Detection Methods for CVE-2024-1012

Indicators of Compromise

  • HTTP requests to /defaultroot/platform/bpm/work_flow/operate/wf_printnum.jsp containing SQL injection patterns in the recordId parameter
  • Unusual database query errors or timeout behaviors in application logs
  • Unexpected database access patterns or data extraction attempts
  • Web access logs showing requests with encoded SQL keywords (UNION, SELECT, OR, AND) in URL parameters

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block SQL injection patterns targeting the wf_printnum.jsp endpoint
  • Implement database activity monitoring to detect anomalous query patterns or unauthorized data access
  • Configure intrusion detection systems (IDS) with signatures for common SQL injection techniques
  • Enable detailed logging for the ezOFFICE application and monitor for suspicious recordId parameter values

Monitoring Recommendations

  • Monitor HTTP traffic for requests containing SQL injection payloads in the recordId parameter
  • Set up alerts for database errors that may indicate attempted SQL injection exploitation
  • Review web server access logs for repeated requests to the vulnerable JSP file with varying parameter values
  • Implement real-time monitoring of database query execution times and resource utilization

How to Mitigate CVE-2024-1012

Immediate Actions Required

  • Restrict network access to the vulnerable endpoint /defaultroot/platform/bpm/work_flow/operate/wf_printnum.jsp
  • Implement web application firewall rules to filter SQL injection attempts
  • Review and audit database permissions to limit potential damage from successful exploitation
  • Monitor for exploitation attempts while awaiting an official patch from the vendor

Patch Information

No official patch information is currently available from the vendor. Organizations should contact Wanhu directly for security updates and patch availability. In the meantime, implement the recommended workarounds to reduce exposure to this vulnerability.

Workarounds

  • Deploy a web application firewall (WAF) with SQL injection protection enabled for the affected endpoint
  • Implement network segmentation to limit access to the ezOFFICE application from untrusted networks
  • Apply input validation at the network perimeter using reverse proxy rules to filter malicious requests
  • Consider temporarily disabling the affected workflow printing functionality if business requirements permit
bash
# Example WAF rule for blocking SQL injection attempts (ModSecurity format)
SecRule ARGS:recordId "@detectSQLi" \
    "id:1001,\
    phase:2,\
    deny,\
    status:403,\
    msg:'SQL Injection attempt detected in recordId parameter',\
    log,\
    auditlog"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWhir Ezoffice

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub PoC Repository

  • VulDB Analysis #252281

  • VulDB #252281
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English