Cloudanix VulnDB

CVE-2024-24510

None

CVSS

—

EPSS

0.5%

Published

Sep 9, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the email import feature of this system lets attackers trick users into running harmful scripts that could steal their information or take over their accounts.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Other
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper sanitization of user-supplied content during mail import allows injection and execution of arbitrary JavaScript in the context of other users' sessions.

Why it matters to the business

Attackers can hijack user sessions, access or exfiltrate email data, and perform actions on behalf of victims; the issue has existed for over two years with minimal observed exploitation activity, reducing immediate operational urgency.

How an attack unfolds

An attacker prepares a specially crafted mail import payload containing malicious script tags or event handlers, uploads it through the mail import function, and waits for a victim user to view the imported content, at which point the script executes in the victim's browser.

How to fix it

Upgrade alinto/sogo to the commit 21468700718ed71774eaf2979ee59330fc569424 or later equivalent release (5.10.0 or newer) and verify that the import function properly sanitizes input before rendering.

How to confirm the fix worked

Confirm the installed commit hash or version is at or beyond 21468700718ed71774eaf2979ee59330fc569424; test the import function with known XSS test vectors to ensure scripts are no longer executed.

Typical attack path

  1. Identify a target SOGo instance running a version prior to the fixed commit
  2. Craft a malicious mail import file embedding executable script content
  3. Submit the file via the mail import function
  4. Lure or wait for a victim user to access the imported mail item
  5. Execute actions such as session token theft or unauthorized operations from the victim's browser context

How to detect it

Examine web server and application logs for unexpected script tags, event handlers, or encoded payloads submitted to the mail import endpoint; monitor for anomalous outbound requests or cookie exfiltration originating from user sessions after import activity.

What your security team should do

  • Apply the fix to all instances immediately given the two-year disclosure window
  • Review mail import logs for unusual file uploads or content patterns
  • Implement web application firewall rules that block common XSS payloads on import endpoints until patching is complete

The record

Cross Site Scripting vulnerability in Alinto SOGo before 5.10.0 allows a remote attacker to execute arbitrary code via the import function to the mail component.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 sogo 0 No fix
Debian:12 sogo 0 No fix
Debian:13 sogo 0 5.10.0-1
Ubuntu:16.04:LTS sogo 0 No fix
Ubuntu:18.04:LTS sogo 0 No fix
Ubuntu:20.04:LTS sogo 0 No fix
Ubuntu:22.04:LTS sogo 0 No fix
Ubuntu:24.10 sogo 0 5.11.0-1
Ubuntu:Pro:16.04:LTS sogo 0 No fix
Ubuntu:Pro:18.04:LTS sogo 0 No fix
Ubuntu:Pro:20.04:LTS sogo 0 No fix