Skip to content

[Security] Stored SQL Injection via Export Template — 5 sinks (CWE-89) #2241

Description

@TuanHung1149

Security Vulnerability Report

Discovered by: SuyZ (UIT — University of Information Technology, Ho Chi Minh City)

I've discovered 5 stored SQL injection sinks in the Export Template functionality:

  1. condition.Column — raw fmt.Sprintf in sys_export_template.go:226
  2. condition.Operator — same line
  3. template.SQLdb.Raw()
  4. JoinTemplatedb.Joins()
  5. tableNamedb.Table()

CreateSysExportTemplate only validates Name, NOT these fields. Default credentials admin/123456.

HIGH (CVSS 8.6) | 6/6 Go test PoC PASS | All 5 DB backends affected

Per SECURITY.md, I will also send the full report to qimiaojiangjizhao@gmail.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions