CVE-2021-38393 SQL injection in Delta Electronics DIAEnergie
A remote unauthenticated attacker can execute arbitrary code via blind SQL injection in the DIAEnergie alarm group handler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-38393?
CVE-2021-38393 is a critical SQL injection vulnerability in Deltaww Diaenergie, published on 30 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Blind SQL injection vulnerability exists in the /DataHandler/HandlerAlarmGroup.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 and prior. The application does not properly validate the user-controlled value supplied through the parameter agid before using it as part of an SQL query. A remote, unauthenticated attacker can exploit this issue to execute arbitrary code in the context of NT SERVICE\MSSQLSERVER.
Weakness: CWE-89
Which versions are affected by CVE-2021-38393?
It affects 1 product.
Products include Deltaww Diaenergie.
How do I fix CVE-2021-38393?
No fix has been published for CVE-2021-38393 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-38393 being exploited?
There is no known exploitation of CVE-2021-38393 in the wild and no public exploit code.
Other vulnerabilities in Deltaww Diaenergie
- CVE-2024-4547 Delta Electronics DIAEnergie Unauthenticated SQL Injection
- CVE-2024-4548 Delta Electronics DIAEnergie SQL Injection
- CVE-2022-43774 SQL injection in Delta Electronics DIAEnergie
- CVE-2022-43775 SQL injection in Delta Electronics DIAEnergie
- CVE-2022-3214 Delta Electronics DIAEnergy Use of Hard-coded Credentials
Sources
Also known as GHSA-pw5w-wgvf-ggq9.