Authenticated SQL injection via filesystem path names
Published Dec 25, 2022 · Updated Apr 14, 2025
SQL injection in DNS-STATS Hedgehog allows remote authenticated users to alter database queries through crafted Data Manager directory names. In DSCIOManager::dsc_import_input_from_source, server and node names derived from filesystem paths flow unescaped into raw SQL queries. Reachability requires high-privileged access to create a directory on the Data Manager server, and the maintainer disputes feasibility without server compromise.
Summary
What happened
SQL injection in DNS-STATS Hedgehog allows remote authenticated users to alter database queries through crafted Data Manager directory names. In DSCIOManager::dsc_import_input_from_source, server and node names derived from filesystem paths flow unescaped into raw SQL queries. Reachability requires high-privileged access to create a directory on the Data Manager server, and the maintainer disputes feasibility without server compromise.
The record
- CVE
- CVE-2021-4276
- Published
- Dec 25, 2022
- Updated
- Apr 14, 2025
- Vendor
- DNS-STATS
- Product
- Hedgehog
- Classifications
- CWE-89
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Dec 25, 2022CVE publishedPublication date reported by the CVE source.
- Apr 14, 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=before 58922c345d3d1fe89bb2020111873a3e07ca93ac
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
No public exploit references are available in this record.
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