Exploit database

GH-9d372fa95d7adca631ed96ea3a5e273b

adrian-gatu/tenable-vulnerability-management

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2013-3900

11 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files30

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

STIG Implementations/CVE-2013-3900-Remediation.ps1

Suggested starting filePowerShell · 1,364 bytes
# CVE-2013-3900 Remediation

 <#
.SYNOPSIS
    # The Windows Remote Management (WinRM) service must not use Basic authentication.
.NOTES
    Author          : Adrian Gatu
    LinkedIn        : linkedin.com/in/adrian-gatu-55a7362ba/
    GitHub          : github.com/Adrian-Gatu
    Date Created    : 7-01-2025
    Last Modified   : 7-01-2025
    Version         : 1.0
    CVEs            : 2013-3900
    Plugin IDs      : N/A
    STIG-ID         : N/A

.TESTED ON
    Date(s) Tested  : 7-01-2025
    Tested By       : Adrian Gatu
    Systems Tested  : Windows 10
    PowerShell Ver. : 5.1.19041.5247

.USAGE
    
    Example syntax:
    PS C:\> .\CVE-2013-3900-Remediation.ps1 
#>

# Registry paths
$regPaths = @(
    "HKLM:\Software\Microsoft\Cryptography\Wintrust\Config",
    "HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config"
)

# Setting the registry value
$regValueName = "EnableCertPaddingCheck"
$regValueData = 1

# Adding the registry values
foreach ($path in $regPaths) {
    # Check if the registry path exists otherwise create it
    if (-not (Test-Path $path)) {
        New-Item -Path $path -Force
    }

    # Setting the registry value
    Set-ItemProperty -Path $path -Name $regValueName -Value $regValueData -Force
}

Write-Host "Registry values added and enabled successfully."