जमा करें #1078976: FusionPBX Commit 5.1.0 - 5.6.5 (tested 5.5.7; fixed in master commit 44248ff) Cross-Site Scripting (XSS) / CWE-79जानकारी

शीर्षकFusionPBX Commit 5.1.0 - 5.6.5 (tested 5.5.7; fixed in master commit 44248ff) Cross-Site Scripting (XSS) / CWE-79
विवरणSUMMARY FusionPBX contains a reflected cross-site scripting (XSS) vulnerability in app/voicemails/voicemail_messages.php. The "back" GET parameter is URL-decoded and stored in the PHP session without validating that it is a relative, same-origin path. The value is later rendered as the href of the Back button. The button class only applies htmlspecialchars(), which does not block the javascript: URI scheme. An attacker can send an authenticated FusionPBX user a link containing back=javascript:...; when the user opens the page and clicks Back, arbitrary JavaScript executes in the FusionPBX origin. The "id" parameter does not need to be a valid mailbox UUID; a random, malformed, or empty value still returns 200 OK and renders the poisoned Back button. AFFECTED VERSIONS FusionPBX 5.1.0 through 5.6.5 (latest release). Tested: 5.5.7. The vulnerable "back" handling was introduced in commit bd9a407ba5 (2023-06-09) and was present in master before fix commit 44248ff (2026-11-07). Branches older than 5.4 are EOL per the vendor. PREREQUISITES The attacker does not need an account. The victim must be authenticated and have voicemail_message_view, which is granted by default to superadmin, admin, user, and agent. The victim must click the Back button. PROOF OF CONCEPT 1. Authenticate as a user with voicemail_message_view. 2. Request: GET /app/voicemails/voicemail_messages.php?id=00000000-0000-0000-0000-000000000000&back=javascript:window.__xss=1 HTTP/1.1 Host: <fusionpbx-host> Cookie: PHPSESSID=<authenticated-session> 3. The response contains: <a href='javascript:window.__xss=1' target='_self'><button type='button' id='btn_back' ...><span class='button-label pad'>Back</span></button></a> 4. Click Back, or run in the browser console: document.querySelector('a[href^="javascript:"]').click(); window.__xss; // -> 1 5. Variation: back=javascript:alert(document.domain) displays an alert with the FusionPBX origin. IMPACT Arbitrary JavaScript execution in the FusionPBX origin in the browser of an authenticated user. An attacker can read same-origin pages, extract CSRF tokens, perform state-changing requests as the victim, target administrators, and display phishing overlays. HttpOnly cookies prevent direct cookie theft but do not prevent same-origin actions. Default user and agent roles are valid victims. REMEDIATION The vendor fixed this in master commit 44248ff on 2026-11-07, with backports to 5.4/5.5 planned for 2026-11-08. The fix adds is_safe_relative_url() to accept only relative same-origin paths, rejects control characters, protocol-relative URLs, URI schemes, and backslashes, and hardens button::escape_href() to block non-http(s) schemes and protocol-relative URLs. VENDOR NOTIFICATION AND CVE STATUS Vendor contacted on 2026-11-07 via FusionPBX ticket 9810ca12-d986-11f1-b63d-0fb43149410b. Vendor acknowledged and published fix commit 44248ff; vendor permitted disclosure. No CVE assigned yet. Not submitted to another CNA. REFERENCES https://github.com/fusionpbx/fusionpbx/commit/44248ff7c898bb386734c01cf8fccea06660571e https://github.com/fusionpbx/fusionpbx/blob/5.5.7/app/voicemails/voicemail_messages.php#L97 https://github.com/fusionpbx/fusionpbx/blob/5.5.7/app/voicemails/voicemail_messages.php#L323 https://github.com/fusionpbx/fusionpbx/blob/5.5.7/resources/classes/button.php#L158 https://cwe.mitre.org/data/definitions/79.html CREDIT Elang Mulya Perkasa
स्रोत⚠️ https://github.com/fusionpbx/fusionpbx/commit/44248ff7c898bb386734c01cf8fccea06660571e
उपयोगकर्ता
 elangmulya (UID 102775)
सबमिशन07/11/2026 04:19 AM (23 दिन पहले)
संयम29/11/2026 04:02 PM (22 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि445201 [FusionPBX तक 5.6.5 Voicemails voicemail_messages.php button::escape_href back क्रॉस साइट स्क्रिप्टिंग]
अंक20

Interested in the pricing of exploits?

See the underground prices here!