☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-46103

CVE-2024-46103 SQL Injection in Semcms
📅 PUBLISHED: 2024-09-20 00:00 UTC 🔄 UPDATED: 2026-08-12 09:03 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.12%
👁️
0.12% probability
3.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-46103 identifies a critical SQL Injection vulnerability in SEMCMS 4.8, specifically within the SEMCMS_Main.php file. This flaw allows an unauthenticated attacker to inject arbitrary SQL commands, potentially leading to unauthorized data access, data exfiltration, or complete database compromise. The vulnerability is publicly known, but no official patch or advisory has been released by the vendor. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains high due to the lack of a patch.

⚡ 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

This vulnerability does not affect NPM, PyPI, Go, or Ruby packages. It is a standalone PHP application vulnerability.

CVSS Breakdown & Threat Level

While a CVSS vector is not provided, based on the nature of the vulnerability (SQL Injection in a web application), a typical assessment would be:

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – The vulnerable component is the database.
  • Confidentiality (C): High (H) – Full database read access.
  • Integrity (I): High (H) – Data can be modified or deleted.
  • Availability (A): High (H) – Database can be disrupted.

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 SEMCMS_Main.php. The application fails to properly sanitize user-supplied input before using it in SQL queries. An attacker can inject malicious SQL code through HTTP parameters (likely GET or POST) that are passed to the database without proper escaping or parameterization.

Root Cause: The application uses string concatenation to build SQL queries, directly embedding user input without using prepared statements or input validation.

Exploitation Mechanics:

  1. The attacker identifies a parameter in SEMCMS_Main.php that is passed to a SQL query.
  2. The attacker injects a SQL payload, such as ' OR '1'='1 or a UNION-based injection to extract data.
  3. The injected SQL is executed by the database, returning unauthorized data or allowing further manipulation.

Example vulnerable code pattern (conceptual):

$id = $_GET['id'];
$query = "SELECT * FROM users WHERE id = '$id'";
$result = mysqli_query($conn, $query);

Vulnerable vs. Patched Code

Vulnerable Code (SEMCMS 4.8):

// SEMCMS_Main.php (vulnerable)
$id = $_GET['id'];
$sql = "SELECT * FROM articles WHERE id = '$id'";
$result = mysqli_query($conn, $sql);

Patched Code (Hypothetical):

// SEMCMS_Main.php (patched)
$id = $_GET['id'];
$stmt = $conn->prepare("SELECT * FROM articles WHERE id = ?");
$stmt->bind_param("i", $id);
$stmt->execute();
$result = $stmt->get_result();

Key Differences:

  • The patched version uses prepared statements with parameterized queries, preventing SQL injection.
  • The vulnerable version directly concatenates user input into the SQL string.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Deploy SEMCMS 4.8 on a local server (e.g., XAMPP, LAMP).
  2. Ensure the application is accessible via a web browser.
  3. Use a tool like Burp Suite or a simple Python script to send crafted requests.

Exploitation Steps:

  1. Identify the vulnerable parameter. For example, id in SEMCMS_Main.php.
  2. Send a request with a SQL injection payload:
    GET /SEMCMS_Main.php?id=1' UNION SELECT 1,2,3,4,5,6,7,8,9,10--+
    
  3. Observe the response for injected data.
  4. Use sqlmap for automated exploitation:
    sqlmap -u "http://target.com/SEMCMS_Main.php?id=1" --batch --dbs
    

Example Payload:

' OR '1'='1' -- 

Blue Team (Defensive)

Detection Steps:

  1. Monitor web server logs for suspicious SQL keywords (e.g., UNION, SELECT, OR 1=1).
  2. Implement a Web Application Firewall (WAF) with rules to block SQL injection patterns.
  3. Use database activity monitoring to detect anomalous queries.

Mitigation Steps:

  1. Immediately apply input validation and parameterized queries.
  2. Restrict database user permissions to the minimum required.
  3. Enable detailed logging for all database queries.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests containing SQL keywords in parameters (e.g., id=1' UNION SELECT).
    • Unusual database error messages in HTTP responses.
  • File IOCs:
    • Modified SEMCMS_Main.php file (if attacker uploads a webshell).
    • New files in the web root (e.g., shell.php).
  • Database IOCs:
    • Unexpected queries in database logs.
    • New user accounts or modified data.

Detection Engineering

YARA Rule

rule CVE_2024_46103_SQLi_SEMCMS {
    meta:
        description = "Detects SQL injection attempts targeting SEMCMS 4.8"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-46103"
    strings:
        $s1 = "SEMCMS_Main.php" nocase
        $s2 = "id=" nocase
        $s3 = "UNION" nocase
        $s4 = "SELECT" nocase
        $s5 = "OR 1=1" nocase
    condition:
        all of ($s1, $s2) and 1 of ($s3, $s4, $s5)
}

Sigma Rule

title: SQL Injection Attempt Against SEMCMS 4.8
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects SQL injection attempts targeting SEMCMS_Main.php
author: Valters IT
date: 2024-10-27
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - 'SEMCMS_Main.php'
            - 'id='
        cs-uri-query|contains|all:
            - 'UNION'
            - 'SELECT'
    condition: selection
falsepositives:
    - Legitimate use of UNION SELECT in rare cases
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-46103 SQL Injection Attempt"; flow:to_server,established; content:"SEMCMS_Main.php"; http_uri; content:"id="; http_uri; pcre:"/(UNION|SELECT|OR\s+1=1)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the affected server from the network if possible.
  2. Disable the vulnerable functionality or the entire application until a patch is applied.
  3. Implement a WAF with custom rules to block SQL injection patterns.

Long-Term Fixes:

  1. Rewrite the vulnerable code to use prepared statements or parameterized queries.
  2. Conduct a full security audit of the application.
  3. Apply the principle of least privilege to the database user.
  4. Monitor for any signs of compromise.

Workaround:

  • If patching is not possible, use a reverse proxy with SQL injection filtering (e.g., ModSecurity).

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

SEMCMS
SEMCMS 4.8

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-46103/ · 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.