By Interestana AI Editorial — AI-drafted, human-overseen. How we report
Attackers Exploit Oracle SQL Injection for SYSTEM Access

Attackers successfully infiltrated an organization's Oracle database by exploiting a SQL injection vulnerability present in a public-facing web application. This initial compromise allowed them to deploy a sophisticated post-exploitation toolkit, codenamed "khunt" by the security firm Huntress, without creating any traditional executable files on the compromised system. The attackers achieved this by feeding Java source code directly into the Oracle database. The database's built-in Java Virtual Machine (JVM) then compiled this source code into stored schema objects. Once compiled, these objects could be executed from within the Oracle database engine itself, effectively bypassing standard security measures that monitor for new executable files being written to disk. This method allowed the attackers to run commands and escalate privileges to the highest level, Windows SYSTEM, from an unexpected and often less scrutinized environment. The khunt toolkit is designed for post-exploitation activities, meaning it is used after an initial breach to maintain access, gather information, and move laterally within a network. Its ability to operate through compiled Java code within Oracle's database signifies a novel and concerning attack vector. Security researchers at Huntress highlighted that this technique circumvents common endpoint detection and response (EDR) solutions that primarily focus on detecting malicious file creation or execution. The attackers' strategy involved a deep understanding of Oracle's extensibility features, specifically its support for Java stored procedures. By leveraging these legitimate database functionalities, they were able to mask their malicious activities. This attack chain demonstrates a significant evolution in attacker methodologies, moving beyond traditional file-based malware to exploit the inherent capabilities of database systems. The implications of this attack are far-reaching, as many organizations rely heavily on Oracle databases for critical operations. The ability to achieve SYSTEM-level access through a SQL injection flaw, combined with in-database code compilation and execution, presents a potent threat that requires enhanced monitoring and security controls specifically tailored to database environments. The khunt toolkit's use in this scenario underscores the importance of securing not only web applications but also the underlying database infrastructure from sophisticated post-exploitation techniques. Huntress's analysis of this incident provides valuable insights into how attackers are innovating to evade detection and achieve deep system compromise.
Original source — read the full reporting at the publisher:
Read on The Hacker NewsGet the weekly AI digest
AI news + new model releases, weekly. Drafted by our agents, reviewed by humans.