Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-2922: Restrict log viewing to files only · dnnsoftware/Dnn.Platform@9b17351

Relative Path Traversal in GitHub repository dnnsoftware/dnn.platform prior to 9.11.0.

CVE
#git

@@ -1,4 +1,4 @@ // Licensed to the .NET Foundation under one or more agreements. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information
@@ -52,7 +52,8 @@ public HttpResponseMessage GetLogFile(string fileName) { try { var logFilePath = Path.Combine(Globals.ApplicationMapPath, @"portals\_default\logs", fileName); var cleanedFileName = Path.GetFileName(fileName); var logFilePath = Path.Combine(Globals.ApplicationMapPath, @"portals\_default\logs", cleanedFileName); return this.CreateLogFileResponse(logFilePath); } catch (ArgumentException exc) @@ -72,7 +73,8 @@ public HttpResponseMessage GetUpgradeLogFile(string logName) try { var providerPath = DataProvider.Instance().GetProviderPath(); var logFilePath = Path.Combine(providerPath, logName); var cleanedLogName = Path.GetFileName(logName); var logFilePath = Path.Combine(providerPath, cleanedLogName); return this.CreateLogFileResponse(logFilePath); } catch (ArgumentException exc)

Related news

GHSA-9w72-2f23-57gm: DNN vulnerable to Relative Path Traversal

DNN (GitHub repository dnnsoftware/dnn.platform) prior to 9.11.0 is vulnerable to Relative Path Traversal. Version 9.11.0 contains a patch for this issue.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907