Maven-Hijack Exposes Hidden Risks in Java Dependency Resolution

The study introduces Maven-Hijack, a supply-chain attack that exploits how Apache Maven and the Java Virtual Machine resolve dependencies. By inserting a malicious class with the same fully qualified name as a trusted one earlier in the dependency chain, attackers can override legitimate functionality without altering project code or library names. Researchers demonstrated the attack by hijacking the Corona-Warn-App’s database logic. They assessed countermeasures such as sealed JARs, Java Modules, and Maven’s Enforcer plugin, concluding that Java Modules offer the strongest defense while the Enforcer plugin provides the most practical mitigation. 

https://arxiv.org/pdf/2407.18760

Comments

Popular posts from this blog

OWASP ASVS 5.0 Released - Key Updates and What You Need to Know

Critical OpenSSH Flaws Enable MITM and DoS Attacks

MITRE ATT&CK v19 Redefines How Defenders Model Modern Threats