CVE-2023-30576 Apache Guacamole: Use-after-free in handling of RDP audio input buffer

Medium 6.8 Published Updated

An attacker can execute arbitrary code with guacd privileges by exploiting a use-after-free vulnerability in the RDP audio input buffer handling.

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-30576?

CVE-2023-30576 is a medium-severity use after free 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 0.9.10 through 1.5.1 may continue to reference a freed RDP audio input buffer. Depending on timing, this may allow an attacker to execute arbitrary code with the privileges of the guacd process.

Weakness: CWE-416

Which versions are affected by CVE-2023-30576?

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

PackageAffectedFixed in
guacamole BitnamiFrom 0.9.01.5.2
guacamole-server BitnamiFrom 0.9.01.5.2

Products include Apache Guacamole.

How do I fix CVE-2023-30576?

Upgrade guacamole to 1.5.2 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-30576 being exploited?

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

Sources

Also known as BIT-guacamole-2023-30576, BIT-guacamole-server-2023-30576, GHSA-q7pp-7w87-cjxp, UBUNTU-CVE-2023-30576.

Is CVE-2023-30576 in your software?

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

Check your SBOMs for free