CVE-2015-5349 Apache Directory Studio Command Injection
Attackers can execute arbitrary commands via crafted LDAP entries exported to CSV and imported into spreadsheets in Apache Directory Studio.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2015-5349?
CVE-2015-5349 is a high-severity command injection vulnerability in n/a, published on 11 Apr 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The CSV export in Apache LDAP Studio and Apache Directory Studio before 2.0.0-M10 does not properly escape field values, which might allow attackers to execute arbitrary commands by leveraging a crafted LDAP entry that is interpreted as a formula when imported into a spreadsheet.
Weakness: CWE-77
Which versions are affected by CVE-2015-5349?
2 open source packages ship an affected version, including org.apache.directory.studio:org.apache.directory.studio.ldapbrowser.core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.directory.studio:org.apache.directory.studio.ldapbrowser.core Maven | All versions | 2.0.0.v20151221-M10 |
org.apache.directory.studio:org.apache.directory.studio.ldapbrowser.core Maven | All versions | 2.0.0.v20151221-M10 |
Products include Apache Directory Studio, Apache Ldap Studio.
How do I fix CVE-2015-5349?
Upgrade org.apache.directory.studio:org.apache.directory.studio.ldapbrowser.core to 2.0.0.v20151221-M10 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2015-5349 being exploited?
There is no known exploitation of CVE-2015-5349 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-p9qj-4rjp-j3w9.