Authenticated arbitrary SQL execution via scheduled tasks
Published Dec 7, 2022 · Updated Apr 15, 2025
SQL injection in maku-boot 2.2.0 and earlier allows remote authenticated users with schedule permissions to execute arbitrary SQL. AbstractScheduleJob.doExecute resolves an attacker-chosen Spring bean and public single-String method, then invokes it with the scheduled-task parameter. Selecting jdbcTemplate.execute sends that parameter to the database, allowing reads, writes, account creation, and database-specific command execution.
Summary
What happened
SQL injection in maku-boot 2.2.0 and earlier allows remote authenticated users with schedule permissions to execute arbitrary SQL. AbstractScheduleJob.doExecute resolves an attacker-chosen Spring bean and public single-String method, then invokes it with the scheduled-task parameter. Selecting jdbcTemplate.execute sends that parameter to the database, allowing reads, writes, account creation, and database-specific command execution.
The record
- CVE
- CVE-2022-4322
- Published
- Dec 7, 2022
- Updated
- Apr 15, 2025
- Vendor
- MAKU
- Product
- maku-boot
- Classifications
- CWE-89, CWE-707, T1565.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 7, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0
- Affected versionversion=2.1
- Affected versionversion=2.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream scheduled-task SQL execution procedurefunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo