CVE-2018-1340 Missing Encryption of Sensitive Data in Apache Guacamole

High 7.5 Published Updated

An attacker can intercept session tokens via unencrypted HTTP requests due to a missing secure flag on cookies, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1340?

CVE-2018-1340 is a high-severity vulnerability in Apache Guacamole, published on 7 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prior to 1.0.0, Apache Guacamole used a cookie for client-side storage of the user's session token. This cookie lacked the "secure" flag, which could allow an attacker eavesdropping on the network to intercept the user's session token if unencrypted HTTP requests are made to the same domain.

Weakness: CWE-311

Which versions are affected by CVE-2018-1340?

2 open source packages ship an affected version, including org.apache.guacamole:guacamole-common. It affects 1 product.

PackageAffectedFixed in
org.apache.guacamole:guacamole-common MavenAll versions1.0.0
org.apache.guacamole:guacamole-common MavenAll versions1.0.0

Products include Apache Guacamole.

How do I fix CVE-2018-1340?

Upgrade org.apache.guacamole:guacamole-common to 1.0.0 or later.

Is CVE-2018-1340 being exploited?

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

Sources

Also known as GHSA-wr7r-vg3c-54r5, UBUNTU-CVE-2018-1340.

Is CVE-2018-1340 in your software?

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

Check your SBOMs for free