Holy Guacamole! Researchers find Apache remote desktop software was silently pwnable for snooping on sessions

Best get updating pronto, folks

The Apache Project's popular Guacamole open-source remote desktop software contained vulns allowing remote attackers to steal login creds and hijack targeted machines, researchers have said.

Israeli infosec outfit Check Point discovered the reverse RDP flaws, an attack method that allows a compromised host to transmit malware to a clean client machine opening a remote desktop protocol (RDP) session with it.

The Apache Foundation has issued patches for Guacamole following Check Point's research, which resulted in two CVEs (2020-9497 and 2020-9498). Readers who haven't patched it lately should do so immediately.

Guacamole is an open-source RDP gateway product. At its simplest, once installed on a server inside a corporate network, Guacamole lets users point their web browsers at a given address to log in and work on their remote machines as normal.

"Knowing that vulnerabilities in FreeRDP [a similar open-source RDP utility whose protocol is available through Guacamole] were only patched on version 2.0.0-rc4, this means that all versions that were released before January 2020 are using vulnerable versions of FreeRDP," Check Point researcher Eyal Itkin said in a canned statement.

This inspired Check Point to probe older versions of Guacamole, which it surmised would support earlier, vulnerable versions of FreeRDP.

In the reverse attack scenario it tested, Check Point's researchers uncovered a use-after-free memory vuln which, combined with flaws in how Guacamole handled FreeRDP audio (detailed at the link above), gave them arbitrary read and write privileges on the target server.

These, the researchers found, could be linked to a privilege escalation vuln through the guacd Guacamole process. After hijacking a guacd instance on the compromised server, the researchers noticed that new Guacamole connections were spawned using fork() – without using execve().

"A forked process contains the entire memory snapshot of its parent, and that snapshot is replaced with a new image when execve() is called," Check Point said. "Without this crucial call, the child process inherits the entire memory address space of its parent."

With the memory address space thus mapped, the researchers simply added themselves to each and every conversation of interest.

Omri Herscovici, vulnerability research team leader at Check Point, said in a statement: "While the global transition to remote work is a necessity, we cannot neglect the security implications of such remote connections, especially as we enter the post-coronavirus era.

"This research demonstrates how a quick change in the social landscape directly affects what attackers might focus their efforts on. In this case, it's remote work." ®

Broader topics

Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022