CVE-2023-30575 Apache Guacamole: Incorrect calculation of Guacamole protocol element lengths

Medium 6.5 Published Updated

Attackers can inject malicious instructions during the handshake due to incorrect length calculations, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30575?

CVE-2023-30575 is a medium-severity code injection vulnerability in Apache Guacamole, published on 7 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Apache Guacamole 1.5.1 and older may incorrectly calculate the lengths of instruction elements sent during the Guacamole protocol handshake, potentially allowing an attacker to inject Guacamole instructions during the handshake through specially-crafted data.

Weakness: CWE-131

Which versions are affected by CVE-2023-30575?

2 open source packages ship an affected version, including guacamole and guacamole-server. It affects 1 product.

PackageAffectedFixed in
guacamole BitnamiAll versions1.5.2
guacamole-server BitnamiAll versions1.5.2

Products include Apache Guacamole.

How do I fix CVE-2023-30575?

Upgrade guacamole to 1.5.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-30575 being exploited?

There is no known exploitation of CVE-2023-30575 in the wild and no public exploit code.

Sources

Also known as BIT-guacamole-2023-30575, BIT-guacamole-server-2023-30575, GHSA-jcgp-rv79-q77m, UBUNTU-CVE-2023-30575.

Is CVE-2023-30575 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free