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

CVE-2024-35086

CVE-2024-35086 SQL Injection in J2eefast
📅 PUBLISHED: 2024-05-23 17:00 UTC 🔄 UPDATED: 2026-10-15 23:32 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.53%
👁️
0.53% probability
13.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
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
9.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-35086 is a SQL injection vulnerability discovered in J2EEFAST v2.7.0, specifically within the findPage function in BpmTaskFromMapper.xml. This flaw allows an attacker to inject arbitrary SQL commands through unsanitized input, potentially leading to unauthorized data access, modification, or deletion. The vulnerability is currently unpatched, and no public exploit code or proof-of-concept is available. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains significant for affected deployments.

⚡ 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

The CVSS score is listed as 0.0, which is likely a placeholder or unassigned value. Based on the nature of the vulnerability (SQL injection in a web application), a realistic CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N) – exploitable remotely.
  • Attack Complexity (AC): Low (L) – no special conditions required.
  • Privileges Required (PR): Low (L) – attacker may need low-level access to trigger the vulnerable function.
  • User Interaction (UI): None (N) – no user action needed.
  • Scope (S): Unchanged (U) – the vulnerability does not cross trust boundaries.
  • Confidentiality (C): High (H) – full database read access possible.
  • Integrity (I): High (H) – data modification possible.
  • Availability (A): High (H) – potential for denial of service via SQL manipulation.

Estimated CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Estimated Base Score: 8.8 (High)

Deep Dive & Mechanics

The vulnerability resides in the findPage function defined in BpmTaskFromMapper.xml. This MyBatis mapper file likely constructs dynamic SQL queries using user-supplied parameters without proper sanitization or parameterized queries. The findPage function is used for paginated data retrieval, and if input parameters such as page, limit, or filter fields are concatenated directly into the SQL statement, an attacker can inject malicious SQL.

Root Cause: Lack of input validation and use of string concatenation instead of prepared statements or parameterized queries in the MyBatis mapper.

Attack Vector: An authenticated or unauthenticated user (depending on access controls) sends a crafted HTTP request to the endpoint that invokes findPage. The injected SQL payload can extract, modify, or delete database records.

Impact: Full compromise of the underlying database, including sensitive user data, application configurations, and potential lateral movement to other systems.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code pattern is inferred:

Vulnerable (J2EEFAST v2.7.0):

<!-- BpmTaskFromMapper.xml -->
<select id="findPage" resultType="map">
    SELECT * FROM bpm_task
    WHERE status = #{status}
    AND task_name LIKE '%${searchText}%'
    ORDER BY create_time DESC
    LIMIT #{offset}, #{limit}
</select>

The ${searchText} is vulnerable to SQL injection because it is directly interpolated.

Patched (Hypothetical):

<select id="findPage" resultType="map">
    SELECT * FROM bpm_task
    WHERE status = #{status}
    AND task_name LIKE CONCAT('%', #{searchText}, '%')
    ORDER BY create_time DESC
    LIMIT #{offset}, #{limit}
</select>

Using #{searchText} ensures parameterization, preventing injection.

Exploitation & Lab Setup

Red Team

Prerequisites: Access to the J2EEFAST application (e.g., http://target.com/j2eefast). The vulnerable endpoint is likely /bpmTask/findPage or similar.

Exploit Steps:

  1. Identify the vulnerable parameter (e.g., searchText).
  2. Craft a payload to extract data:
    GET /j2eefast/bpmTask/findPage?searchText=' UNION SELECT username,password FROM sys_user--&page=1&limit=10
    
  3. Use SQLmap for automated exploitation:
    sqlmap -u "http://target.com/j2eefast/bpmTask/findPage?searchText=test&page=1&limit=10" --batch --dbs
    

No public exploit code is available.

Blue Team

Detection:

  • Monitor for SQL injection patterns in HTTP requests (e.g., UNION, SELECT, OR 1=1).
  • Enable database query logging to capture anomalous SQL statements.
  • Use a Web Application Firewall (WAF) to block common SQLi payloads.

Mitigation:

  • Immediately upgrade to a patched version if available.
  • Implement input validation and parameterized queries.
  • Restrict database user privileges to least privilege.

Indicators of Compromise (IOCs)

  • Network: HTTP requests containing SQL keywords in parameters (e.g., searchText=1' OR '1'='1).
  • Logs: Database error logs showing syntax errors or unexpected query results.
  • File: Modified or new files in the application directory (e.g., webshells).
  • Behavior: Unusual database queries with high frequency or large result sets.

Detection Engineering

YARA Rule

rule CVE_2024_35086_SQLi_Detect {
    meta:
        description = "Detects SQL injection attempts targeting J2EEFAST findPage"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-35086"
    strings:
        $sqli1 = /searchText=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC)/i
        $sqli2 = /searchText=.*\b(1=1|1=2|admin'--)\b/i
    condition:
        any of them
}

Sigma Rule

title: SQL Injection Attempt Against J2EEFAST findPage
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects SQL injection patterns in HTTP requests to J2EEFAST findPage endpoint
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - 'searchText='
            - 'findPage'
        cs-uri-query|re: '['\''\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC)'
    condition: selection
falsepositives:
    - Legitimate use of special characters in search terms
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-35086 SQL Injection Attempt"; flow:to_server,established; content:"findPage"; http_uri; content:"searchText="; http_uri; pcre:"/searchText=.*['\''\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Apply input validation and use parameterized queries in BpmTaskFromMapper.xml.
  2. Short-term: Deploy a WAF with SQLi rules.
  3. Long-term: Upgrade to a patched version of J2EEFAST when available.
  4. Monitor: Review database logs for suspicious queries.
  5. Audit: Conduct a full security audit of the application for similar vulnerabilities.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-35086/ · 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.