CVE-2018-1340 Missing Encryption of Sensitive Data in Apache Guacamole
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.guacamole:guacamole-common Maven | All versions | 1.0.0 |
org.apache.guacamole:guacamole-common Maven | All versions | 1.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.
Other vulnerabilities in Apache Guacamole
- CVE-2021-43999 Improper validation of SAML responses
- CVE-2017-3158 Apache Guacamole Race Condition vulnerability
- CVE-2023-43826 Apache Guacamole: Integer overflow in handling of VNC image buffers
- CVE-2019-19603 Null dereference in n/a
- CVE-2024-35164 Apache Guacamole: Improper input validation of console codes
Sources
Also known as GHSA-wr7r-vg3c-54r5, UBUNTU-CVE-2018-1340.