Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,18 @@ function Invoke-AnalyzerSecurityExtendedProtectionConfigState {
}

$epCveParams = $baseParams + @{
Name = "Security Vulnerability"
Details = "CVE-2022-24516, CVE-2022-21979, CVE-2022-21980, CVE-2022-24477, CVE-2022-30134"
DisplayWriteType = "Red"
Name = "Security Vulnerability"
Details = "CVE-2022-24516, CVE-2022-21979, CVE-2022-21980, CVE-2022-24477, CVE-2022-30134"
DisplayWriteType = "Red"
TestingName = "Extended Protection Vulnerable"
DisplayTestingValue = $true
}
$epBasicParams = $baseParams + @{
DisplayWriteType = "Red"
DisplayCustomTabNumber = 2
Details = "$epDetails"
TestingName = "Extended Protection Vulnerable Details"
DisplayTestingValue = $epDetails
}
Add-AnalyzedResultInformation @epCveParams
Add-AnalyzedResultInformation @epBasicParams
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,12 @@ function Get-ExchangeInformation {
CatchActionFunction = ${Function:Invoke-CatchActions}
}

if ($null -ne $exchangeInformation.IISSettings.ApplicationHostConfig) {
$getExtendedProtectionConfigurationParams.ApplicationHostConfig = $exchangeInformation.IISSettings.ApplicationHostConfig
}

try {
if ($null -ne $exchangeInformation.IISSettings.ApplicationHostConfig) {
$getExtendedProtectionConfigurationParams.ApplicationHostConfig = [xml]$exchangeInformation.IISSettings.ApplicationHostConfig
}
Write-Verbose "Was able to convert the ApplicationHost.Config to XML"

$exchangeInformation.ExtendedProtectionConfig = Get-ExtendedProtectionConfiguration @getExtendedProtectionConfigurationParams
} catch {
Write-Verbose "Failed to get the ExtendedProtectionConfig"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ function Invoke-VulnerabilityReport {
}
} elseif (($vulnerability.Name -eq $iisModule -and
$vulnerability.TestingValue -eq $true) -or
($vulnerability.Name -ne $iisModule)) {
($null -ne $vulnerability.Name -and
$vulnerability.Name -ne $iisModule)) {
$cveName = $vulnerability.Name
} else {
Write-Verbose "Failed to determine Security Vulnerability match"
}

if ($cveName -ne [string]::Empty) {
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0">
<TN RefId="0">
<T>System.Diagnostics.FileVersionInfo</T>
<T>System.Object</T>
</TN>
<ToString>File: C:\Program Files\Microsoft\Exchange Server\V15\bin\ExSetup.exe_x000D__x000A_InternalName: ExSetup.exe_x000D__x000A_OriginalFilename: ExSetup.exe_x000D__x000A_FileVersion: 15.02.0986.005_x000D__x000A_FileDescription: _x000D__x000A_Product: Microsoft® Exchange_x000D__x000A_ProductVersion: 15.02.0986.005_x000D__x000A_Debug: False_x000D__x000A_Patched: False_x000D__x000A_PreRelease: False_x000D__x000A_PrivateBuild: False_x000D__x000A_SpecialBuild: False_x000D__x000A_Language: Language Neutral_x000D__x000A_</ToString>
<Props>
<S N="Comments">Service Pack 2</S>
<S N="CompanyName">Microsoft Corporation</S>
<I32 N="FileBuildPart">1118</I32>
<S N="FileDescription"></S>
<I32 N="FileMajorPart">15</I32>
<I32 N="FileMinorPart">2</I32>
<S N="FileName">C:\Program Files\Microsoft\Exchange Server\V15\bin\ExSetup.exe</S>
<I32 N="FilePrivatePart">20</I32>
<S N="FileVersion">15.02.1118.020</S>
<S N="InternalName">ExSetup.exe</S>
<B N="IsDebug">false</B>
<B N="IsPatched">false</B>
<B N="IsPrivateBuild">false</B>
<B N="IsPreRelease">false</B>
<B N="IsSpecialBuild">false</B>
<S N="Language">Language Neutral</S>
<S N="LegalCopyright">© 2014 Microsoft Corporation. All rights reserved.</S>
<S N="LegalTrademarks">Microsoft® is a registered trademark of Microsoft Corporation.</S>
<S N="OriginalFilename">ExSetup.exe</S>
<S N="PrivateBuild"></S>
<I32 N="ProductBuildPart">1118</I32>
<I32 N="ProductMajorPart">15</I32>
<I32 N="ProductMinorPart">2</I32>
<S N="ProductName">Microsoft® Exchange</S>
<I32 N="ProductPrivatePart">20</I32>
<S N="ProductVersion">15.02.1118.020</S>
<S N="SpecialBuild"></S>
</Props>
<MS>
<Version N="FileVersionRaw">15.2.1118.20</Version>
<Version N="ProductVersionRaw">15.2.1118.20</Version>
</MS>
</Obj>
</Objs>
Loading