Fixed: Found a new XXE (XML External Entity Injection) vulnerability in ArtifactInfo (OFBIZ-12306)

The XXE vulnerability can read arbitrary files on the server.

Thanks: thiscodecc for reporting this security issue (post-auth)
This commit is contained in:
Jacques Le Roux
2021-09-13 08:16:47 +02:00
parent 1b907b06e8
commit 7e00617828
2 changed files with 8 additions and 4 deletions
@@ -146,8 +146,8 @@ public final class UtilURL {
try {
url = new URL(urlString);
} catch (MalformedURLException e) {
// We purposely don't want to do anything here
}
return url;
}