CVE-2024-53504

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory

Critical · published November 29, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
46.3
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection vulnerability lurks in Siyuan 3.1.11, and it’s hiding in the notebook parameter of the /searchHistory endpoint! 🔥 Think of it like a restaurant that serves up a special dish without checking the recipe — one wrong ingredient could spoil the entire meal. In this case, an attacker can insert malicious SQL code without any checks! An attacker could gain unauthorized access to your database, leading to devastating consequences like data theft, manipulation, or even deletion. This vulnerability could compromise all your sensitive data in a flash, wreaking havoc on your system!

Put simply

Think of it like a restaurant that serves up a special dish without checking the recipe — one wrong ingredient could spoil the entire meal. In this case, an attacker can insert malicious SQL code without any checks! This SQL injection vulnerability allows attackers to manipulate queries through the notebook parameter, leading to unauthorized actions against your database. With no proper sanitization, malicious SQL can slip right in!

What to do

An attacker could gain unauthorized access to your database, leading to devastating consequences like data theft, manipulation, or even deletion. This vulnerability could compromise all your sensitive data in a flash, wreaking havoc on your system! Immediately patch to Siyuan version 3.1.12 or later to secure your application. Additionally, implement prepared statements in your SQL queries to prevent this kind of attack in the future. Regular audits on your user input handling can also enhance security! You’ve got this! Secure your application today and keep those data heroes at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00567 · 46.3th percentile
Published
2024-11-29T00:00Z
EPSS history
Timeline
  • 29 NOV 00:00Z
    A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory
    cvelistv5