High severity7.5NVD Advisory· Published Nov 30, 2017· Updated May 13, 2026
CVE-2017-14949
CVE-2017-14949
Description
Restlet Framework before 2.3.12 allows remote attackers to access arbitrary files via a crafted REST API HTTP request that conducts an XXE attack, because only general external entities (not parameter external entities) are properly considered. This is related to XmlRepresentation, DOMRepresentation, SaxRepresentation, and JacksonRepresentation.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.restlet.jse:org.restletMaven | < 2.3.12 | 2.3.12 |
Patches
1fe75aff3af23XEE injection security in XML extension. Reported by Man Yue Mo.
2 files changed · +7 −1
build/tmpl/text/changes.txt+3 −0 modified@@ -4,6 +4,9 @@ Changes log =========== @version-full@ (@release-date@) + - Bugs fixed + - XEE injection security in XML extension. + Reported by Man Yue Mo. - 2.3.11 (09/28/2017) - Bugs fixed
modules/org.restlet.ext.xml/src/org/restlet/ext/xml/XmlRepresentation.java+4 −1 modified@@ -370,7 +370,10 @@ protected DocumentBuilder getDocumentBuilder() throws IOException { dbf.setNamespaceAware(isNamespaceAware()); dbf.setValidating(isValidatingDtd()); dbf.setCoalescing(isCoalescing()); - dbf.setExpandEntityReferences(isExpandingEntityRefs()); + dbf.setExpandEntityReferences(false); + dbf.setFeature("http://xml.org/sax/features/external-parameter-entities",isExpandingEntityRefs()); + dbf.setFeature("http://xml.org/sax/features/external-general-entities",isExpandingEntityRefs()); + dbf.setIgnoringComments(isIgnoringComments()); dbf.setIgnoringElementContentWhitespace(isIgnoringExtraWhitespaces());
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- lgtm.com/blog/restlet_CVE-2017-14949nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-cvj4-g3gx-8vqqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2017-14949ghsaADVISORY
- github.com/restlet/restlet-framework-java/commit/fe75aff3af23b879b984db7a2b6824cee0ef0fc5ghsaWEB
News mentions
0No linked articles in our index yet.