CVE-2016-4314 WSO2 Carbon directory traversal vulnerability

Medium 4.9 Published Updated

Authenticated administrators can read arbitrary files via directory traversal in the LogViewer Admin Service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2016-4314?

CVE-2016-4314 is a medium-severity path traversal vulnerability in n/a, published on 16 Feb 2017. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2016-4314?

2 open source packages ship an affected version, including org.wso2.carbon.commons:org.wso2.carbon.logging.view.ui. It affects 1 product.

PackageAffectedFixed in
org.wso2.carbon.commons:org.wso2.carbon.logging.view.ui MavenAll versions to 4.4.5None
org.wso2.carbon.commons:org.wso2.carbon.logging.view.ui MavenAll versions to 4.4.5None

Products include Wso2 Carbon.

How do I fix CVE-2016-4314?

No fix has been published for CVE-2016-4314 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-4314 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-4314 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-mjww-vqqw-v78q.

Is CVE-2016-4314 in your software?

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

Check your SBOMs for free