CVE-2025-24490CWE-89

SQL Injection in Mattermost Boards via board category ID reordering

Critical · published February 24, 2025

CVSS v3.1
9.6
EPSS
0%
Percentile
36.8
In the wild
Unconfirmed
What it is

🔥 A sneaky SQL injection in Mattermost could let an attacker rummage through your database just by repositioning board categories! 😱 Think of this like a restaurant that lets customers reorder their meals on the menu, but without verifying their identity. If someone secretly changes their order to a VIP dish, they could get access to all the chef's special recipes! With this vulnerability, an attacker could easily retrieve sensitive data from your database, potentially exposing user information or even critical system data. Imagine having your secret recipe book left wide open for anyone to read! This could lead to disastrous consequences for your organization’s privacy and security.

Put simply

Think of this like a restaurant that lets customers reorder their meals on the menu, but without verifying their identity. If someone secretly changes their order to a VIP dish, they could get access to all the chef's special recipes! This SQL injection vulnerability arises because Mattermost fails to use prepared statements when handling SQL queries related to board reordering. This oversight allows attackers to inject malicious SQL code via specially crafted requests, gaining unauthorized access to the database.

What to do

With this vulnerability, an attacker could easily retrieve sensitive data from your database, potentially exposing user information or even critical system data. Imagine having your secret recipe book left wide open for anyone to read! This could lead to disastrous consequences for your organization’s privacy and security. To protect your system, immediately upgrade to Mattermost versions 10.4.2, 9.11.8, or higher for 10.3.x and 10.2.x. Implement prepared statements in your SQL queries to safeguard against injections, and review your database access controls. You've got this! Take swift action to patch this vulnerability, and you'll keep your data safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00436 · 36.8th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-02-24T07:26Z
EPSS history
Timeline
  • 24 FEB 07:26Z
    SQL Injection in Mattermost Boards via board category ID reordering
    cvelistv5