CVE-2018-1340: Guacamole common Missing Encryption Of Sensitive Data Vulnerability
HIGHCVE-2018-1340 is a HIGH (CVSS 7.5) missing encryption of sensitive data vulnerability (CWE-311: Missing Encryption of Sensitive Data) affecting Guacamole common libraries in the Maven ecosystem. The issue involves missing encryption of sensitive data in apache guacamole. Remediation is available by upgrading affected packages to version 1.0.0.
CVE-2018-1340 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2018-1340
To remediate this vulnerability, upgrade all affected Guacamole common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.guacamole</groupId>
<artifactId>guacamole-common</artifactId>
<version>1.0.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.guacamole
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-1340, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.guacamole
Analyze the terminal output to locate any version of Guacamole common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.guacamole command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-311: Missing Encryption of Sensitive Data, where the product does not encrypt sensitive or critical information before storage or transmission. In Guacamole common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1340 Affected Guacamole common Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.guacamole:guacamole-common
|
Maven |
< 1.0.0
|
1.0.0
|
References
Frequently Asked Questions
What is CVE-2018-1340?
Which Guacamole common versions are affected?
What version fixes CVE-2018-1340?
Is guacamole-common affected?
What is the CVSS score of CVE-2018-1340?
What CWE is associated with CVE-2018-1340?
How can I check Maven dependencies for CVE-2018-1340?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wr7r-vg3c-54r5",
"modified" : "2022-11-03T18:46:49Z",
"published" : "2022-05-13T01:49:47Z",
"aliases" : [ "CVE-2018-1340" ],
"summary" : "Missing Encryption of Sensitive Data in Apache Guacamole",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.guacamole:guacamole-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1340"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/af1632e13dd9acf7537546660cae9143cbb10fdd2f9bb0832a690979@%3Cannounce.guacamole.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/106768"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-311" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-03T18:46:49Z",
"nvd_published_at" : "2019-02-07T22:29:00Z"
}
}