A contemporary proof-of-concept (PoC) exploit for a important safety vulnerability in Apache ActiveMQ is making it simpler than ever to attain distant code execution (RCE) on servers operating the open supply message dealer — avoiding discover whereas doing so.
The max-severity bug (CVE-2023-46604, CVSS rating of 10) permits unauthenticated risk actors to run arbitrary shell instructions, and it was patched by Apache late final month. Nonetheless, 1000’s of organizations stay susceptible, a state of affairs that the HelloKitty ransomware gang and others have taken full benefit of.
Whereas assaults have up to now relied on a public PoC launched shortly after the flaw’s disclosure, researchers at VulnCheck stated this week that they’ve engineered a extra elegant exploit — one which cuts down on intruder noise by launching assaults from reminiscence.
“Which means the risk actors might have prevented dropping their instruments to disk,” in keeping with VulnCheck’s submit detailing the brand new ActiveMQ exploit. “They might have simply written their encryptor in Nashorn (or loaded a category/JAR into reminiscence) and remained memory-resident, maybe avoiding detection from … managed [endpoint detection and response] EDR groups.”
New ActiveMQ Exploit: Enabling a Silent Stalker
Whereas attackers would wish to delete any incriminating log messages within the activemq.log to totally cowl their tracks, the VulnCheck PoC remains to be a major enchancment relating to making any assaults in opposition to the vulnerability stealthier, in keeping with Matt Kiely, principal safety researcher at Huntress.
“The proof of idea from VulnCheck is a marked evolution from the earlier public PoCs, which typically relied on utilizing the shell of the exploited system to execute code,” he says, including that the Huntress crew confirmed that the brand new approach certainly works as marketed.
Additional, “this particular assault is trivial to use if an attacker can entry the susceptible occasion of ActiveMQ,” he says, including that extra evolutions and enhancements in exploit growth are certain to return.
Thus, admins needs to be patching CVE-2023-46604 instantly, or eradicating the servers from the Web. It is also essential to remember that the danger from an assault stretches effectively past ransomware, Kiely provides.
“Potential outcomes of exploitation [include] methods like account entry removing, knowledge destruction, defacement, useful resource hijacking, and lots of others,” he explains. “Attackers might even elect to do nothing in any respect and easily wait on an exploited server to stage additional assaults” — one thing, it needs to be famous, that the silent VulnCheck PoC can extra simply allow.