POJIA破甲
地图 / Stack Buffer Overflow in mariadb-dump quote_name() Allows Malicious Server to Execute Arbitrary Code on Client

Stack Buffer Overflow in mariadb-dump quote_name() Allows Malicious Server to Execute Arbitrary Code on Client

内存破坏 / 栈溢出 / #3788482

厂商
MariaDB
严重程度
高危
赏金
—
弱点
栈溢出
研究员
@byteoverride
披露日期
2026-09-08
资产
MariaDB Server & Connectors - Remote Code Execution
CVE
CVE-2025-13699

该报告还没有中文解读。

原文摘录

摘自原文(16513 字符中的一小部分)
A malicious MySQL/MariaDB server achieves remote code execution against any `mariadb-dump` client that connects to it. The `quote_name()` function in `client/mysqldump.cc` performs unbounded 2x character expansion into a fixed 387-byte stack buffer with zero length validation on server-returned …
原文中的代码
// client/mysqldump.cc:2227-2243
static char *quote_name(const char *name, char *buff, my_bool force)
{
  char *to= buff;
  char qtype= (opt_compatible_mode & MASK_ANSI_QUOTES) ? '\"' : '`';
  if (!force && !opt_quoted && !test_if_special_chars(name))
    return (char*) name;
  *to++= qtype; …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MariaDB 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @byteoverride · 版权归作者与 MariaDB 所有

同类报告

Stack overflow in XML ParsingNotepad++ · 2019-08-25Malformed playlist.txt in GoldSrc games leads to Access Violation & arbitrary code executionValve · 2019-09-17 · $1,000VLC 4.0.0 - Stack Buffer Overflow (SEH)VLC (European Commission - DIGIT) · 2020-02-10 · $2,817Buffer overflow In hl.exe's launch -game argument allows an attacker to execute arbitrary code locally or from browserValve · 2020-08-19Stack overflow affecting "ext" field on stylers.xml configuration fileNotepad++ · 2019-08-25[CS:GO] Unchecked texture file name with TEXTUREFLAGS_DEPTHRENDERTARGET can lead to Remote Code ExecutionValve · 2021-05-06 · $2,500