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

CVE-2024-33146

CVE-2024-33146 SQL Injection in J2eefast
📅 PUBLISHED: 2024-05-07 00: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.52%
👁️
0.52% probability
13.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
9.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-33146 is a critical SQL injection vulnerability discovered in J2EEFAST v2.7.0, specifically within the export function's sql_filter parameter. This flaw allows an unauthenticated attacker to inject arbitrary SQL commands, potentially leading to unauthorized data access, data manipulation, or complete database compromise. The vulnerability is publicly known, but no official patch or vendor advisory has been released as of the latest analysis. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains high due to the ease of exploitation and the sensitive nature of data typically handled by J2EEFAST applications.

⚡ 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

Supply Chain & Package Security

J2EEFAST is a Java-based enterprise rapid development framework. The vulnerability exists in the core application code, not in a third-party package. However, organizations using J2EEFAST should verify their version and apply any available security updates or workarounds immediately.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder or uncalculated value. Based on the vulnerability characteristics, a reasonable CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N) - The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) - No special conditions are required.
  • Privileges Required (PR): None (N) - No authentication is needed.
  • User Interaction (UI): None (N) - No user action is required.
  • Scope (S): Unchanged (U) - The vulnerability does not affect other components.
  • Confidentiality (C): High (H) - Full database read access is possible.
  • Integrity (I): High (H) - Data can be modified or deleted.
  • Availability (A): High (H) - Database can be disrupted or destroyed.

Estimated CVSS Score: 9.8 (Critical)

Threat Level: Critical. The vulnerability is trivial to exploit and can lead to complete database compromise.

Deep Dive & Mechanics

The vulnerability resides in the export function of J2EEFAST v2.7.0. The sql_filter parameter is used to filter data during export operations. The application fails to sanitize or parameterize this input, allowing an attacker to inject arbitrary SQL statements.

Root Cause: The application constructs SQL queries by directly concatenating user-supplied input from the sql_filter parameter without proper validation or the use of prepared statements.

Attack Vector: An attacker can send a crafted HTTP request to the export endpoint with a malicious sql_filter value. For example:

GET /export?sql_filter=1' OR '1'='1

This would result in the SQL query becoming:

SELECT * FROM table WHERE sql_filter = '1' OR '1'='1'

This bypasses the intended filter and returns all rows from the table.

Impact: An attacker can:

  • Extract sensitive data (usernames, passwords, financial records).
  • Modify or delete data.
  • Execute administrative operations on the database (e.g., xp_cmdshell on SQL Server).
  • Potentially gain a foothold in the internal network.

Vulnerable vs. Patched Code

Vulnerable Code (J2EEFAST v2.7.0):

// Vulnerable: Direct concatenation of user input
String sql = "SELECT * FROM table WHERE sql_filter = '" + request.getParameter("sql_filter") + "'";
Statement stmt = connection.createStatement();
ResultSet rs = stmt.executeQuery(sql);

Patched Code (Hypothetical):

// Patched: Use of parameterized query
String sql = "SELECT * FROM table WHERE sql_filter = ?";
PreparedStatement pstmt = connection.prepareStatement(sql);
pstmt.setString(1, request.getParameter("sql_filter"));
ResultSet rs = pstmt.executeQuery();

The patched version uses a PreparedStatement with a parameterized query, which prevents SQL injection by treating user input as data, not executable code.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A running instance of J2EEFAST v2.7.0.
  • Knowledge of the export endpoint URL (e.g., /export).

Exploitation Steps:

  1. Identify the vulnerable endpoint:

    curl -v "http://target.com/export?sql_filter=test"
    
  2. Test for SQL injection:

    curl "http://target.com/export?sql_filter=1' OR '1'='1"
    
  3. Extract database version (MySQL example):

    curl "http://target.com/export?sql_filter=1' UNION SELECT @@version,2,3-- -"
    
  4. Automated exploitation with sqlmap:

    sqlmap -u "http://target.com/export?sql_filter=1" --batch --dbs
    

Note: No public exploit code (Exploit-DB) is available for this CVE.

Blue Team (Defensive)

Detection and Prevention:

  1. Web Application Firewall (WAF) Rules:

    • Block requests containing SQL injection patterns in the sql_filter parameter.
    • Example ModSecurity rule:
      SecRule ARGS:sql_filter "@detectSQLi" "id:1001,phase:2,deny,status:403,msg:'SQL Injection Attempt'"
      
  2. Input Validation:

    • Implement strict allowlisting for the sql_filter parameter (e.g., only allow alphanumeric characters and specific operators).
  3. Database Hardening:

    • Use least-privilege database accounts.
    • Disable xp_cmdshell and other dangerous features.
  4. Logging and Monitoring:

    • Enable detailed logging of all database queries.
    • Monitor for unusual query patterns or errors.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests to /export with sql_filter containing SQL keywords (UNION, SELECT, OR, AND, etc.).
    • Unusual response sizes or error messages containing SQL syntax.
  • Host IOCs:

    • Database logs showing unexpected queries or errors.
    • Unauthorized database connections from external IPs.
  • File IOCs:

    • Modified or new files in the web root (e.g., webshells).
    • Suspicious entries in application logs.

Detection Engineering

YARA Rule

rule CVE_2024_33146_SQLi_Detection {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2024-33146 in J2EEFAST"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-33146"
    strings:
        $sqli1 = /sql_filter=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC|xp_cmdshell)/i
        $sqli2 = /sql_filter=.*--\s*$/i
        $sqli3 = /sql_filter=.*\/\*/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-33146 SQL Injection Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects SQL injection attempts against J2EEFAST export function
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
    service: accesslog
detection:
    selection:
        cs-uri-query|contains: 
            - "sql_filter="
        cs-uri-query|re: 
            - ".*['\"]\\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC|xp_cmdshell).*"
            - ".*--\\s*$"
            - ".*/\\*.*"
    condition: selection
falsepositives:
    - Legitimate use of SQL keywords in filter parameters (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-33146 SQL Injection Attempt";
    flow:to_server,established;
    content:"sql_filter="; http_uri;
    pcre:"/sql_filter=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|EXEC|xp_cmdshell)/i";
    sid:1000001;
    rev:1;
    reference:url,https://nvd.nist.gov/vuln/detail/CVE-2024-33146;
    classtype:web-application-attack;
    priority:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the export function if not critical to business operations.
  2. Apply input validation on the sql_filter parameter:
    • Allow only alphanumeric characters and specific safe operators.
    • Reject any input containing SQL keywords or special characters.
  3. Implement a Web Application Firewall (WAF) with rules to block SQL injection patterns.
  4. Upgrade to a patched version if/when the vendor releases one.

Long-term Fixes:

  1. Code Review: Conduct a thorough code review of all database interactions to ensure parameterized queries are used.
  2. Security Training: Train developers on secure coding practices, especially regarding SQL injection prevention.
  3. Regular Penetration Testing: Schedule periodic security assessments to identify similar vulnerabilities.

Workaround (if patching is not possible):

  • Modify the application code to use prepared statements (as shown in the patched code example).
  • Use a database proxy or middleware that automatically parameterizes queries.

Valters IT
Securing Your Digital Frontier

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