CVE-2016-4314: Org.wso2.carbon.logging.view.ui Path Traversal Vulnerability
MODERATECVE-2016-4314 is a MODERATE (CVSS 4.9) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Org.wso2.carbon.logging.view.ui libraries in the Maven ecosystem. The issue involves wso2 carbon directory traversal vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2016-4314 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2016-4314
To remediate this vulnerability, upgrade all affected Org.wso2.carbon.logging.view.ui 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.wso2.carbon.commons</groupId>
<artifactId>org.wso2.carbon.logging.view.ui</artifactId>
<version>Latest secure release</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.wso2.carbon.commons
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2016-4314, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.wso2.carbon.commons
Analyze the terminal output to locate any version of Org.wso2.carbon.logging.view.ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.wso2.carbon.commons 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Org.wso2.carbon.logging.view.ui, 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-2016-4314 Affected Org.wso2.carbon.logging.view.ui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.wso2.carbon.commons:org.wso2.carbon.logging.view.ui
|
Maven |
≤ 4.4.5
|
|
References
Frequently Asked Questions
What is CVE-2016-4314?
Which Org.wso2.carbon.logging.view.ui versions are affected?
What version fixes CVE-2016-4314?
Is org.wso2.carbon.logging.view.ui affected?
What is the CVSS score of CVE-2016-4314?
What CWE is associated with CVE-2016-4314?
How can I check Maven dependencies for CVE-2016-4314?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mjww-vqqw-v78q",
"modified" : "2025-04-22T01:06:28Z",
"published" : "2022-05-14T02:46:18Z",
"aliases" : [ "CVE-2016-4314" ],
"summary" : "WSO2 Carbon directory traversal vulnerability",
"details" : "Directory traversal vulnerability in the LogViewer Admin Service in WSO2 Carbon 4.4.5 allows remote authenticated administrators to read arbitrary files via a .. (dot dot) in the logFile parameter to downloadgz-ajaxprocessor.jsp.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.wso2.carbon.commons:org.wso2.carbon.logging.view.ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.4.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-4314"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wso2/carbon-commons"
}, {
"type" : "WEB",
"url" : "https://github.com/wso2/docs-security/blob/main/en/docs/security-announcements/security-advisories/2016/WSO2-2016-0098.md"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201207110545/http://www.securityfocus.com/archive/1/539200/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/40240"
}, {
"type" : "WEB",
"url" : "http://hyp3rlinx.altervista.org/advisories/WSO2-CARBON-v4.4.5-LOCAL-FILE-INCLUSION.txt"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/138330/WSO2-Carbon-4.4.5-Local-File-Inclusion.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T01:06:28Z",
"nvd_published_at" : "2017-02-17T02:59:00Z"
}
}