Exploit databaseDownload repository ZIP
GH-945bd5267b0d1b94c3f74faf5cda7e5a
blkph0x/cve-2026-83844_poc
Sources for CVE-2026-83844
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files579
blkph0x/cve-2026-83844_pocRevision 193ed44859da
- ↑..Parent directory
- afl_emf_gdiplus/
- capture/
- generated/
- BFDB_ALLOCATOR_REUSE_PROTOCOL.md
- BFDB_AUTHORING_MEDIA_STATIC.md
- BFDB_AUTHORING_PROTOCOL.md
- BFDB_BOUNDED_MARKER_PLACEMENT_PROTOCOL.md
- BFDB_BYTE_PROVENANCE_PROTOCOL.md
- BFDB_CACHE_PROTOCOL.md
- BFDB_CLOCK_ONLY_CONTROL_PROTOCOL.md
- BFDB_CROSSSLOT_PROTOCOL.md
- BFDB_FAST_FIRST_OPEN_PROTOCOL.md
- BFDB_FOUR_WPR_PROTOCOL.md
- BFDB_GEOMETRY_GUEST_PROTOCOL.md
- BFDB_LFH_CHECKPOINT_PROTOCOL.md
- BFDB_MARKER_ACCEPTANCE.md
- BFDB_MARKER_FIRSTOPEN_SEMANTIC_GATE.md
- BFDB_MARKER_FOUR_FIRSTOPEN_PROTOCOL.md
- BFDB_MARKER_FOUR_PROTOCOL.md
- BFDB_MARKER_ROUTE_CONTROL.md
- BFDB_MARKER_SEMANTIC_GATE.md
- BFDB_NORMAL_EXTENT_PROTOCOL.md
- BFDB_NORMAL_HEAP_PROTOCOL.md
- BFDB_NORMAL_RECORD_PROTOCOL.md
- BFDB_OUTPUT_GATES_PROTOCOL.md
- BFDB_POSTOPEN_PROTOCOL.md
- BFDB_SDK_RESOLUTION_SCAN.md
- BFDB_SINK_GATE_PROTOCOL.md
- BFDB_VALIDATION_LIFETIME_PROTOCOL.md
- BFDB_WPR_HEAP_PROTOCOL.md
- BRUSH_DISPATCH_PROTOCOL.md
- COLD_ATTACH_REPAIR_PLAN.md
- EMF_BFDB_FUZZ_ANALYSIS.md
- EMF_BFDB_FUZZ_BATCH_PROTOCOL.md
- EMF_BFDB_FUZZ_CAMPAIGN.md
- EMF_BFDB_SEQUENCE_PROTOCOL.md
- EMF_BFDB_WARM_PAGEHEAP_PROTOCOL.md
- EMF_CLIPBOARD_VALID_PROTOCOL.md
- EMF_VALID_ACCEPTANCE_PROTOCOL.md
- FILL_LOOP_CENSUS_PROTOCOL.md
- FILL_MOUSE_EVENT_PROTOCOL.md
- FILL_TOUCH_INPUT_PROTOCOL.md
- FILL_WIN32_DISPATCH_PROTOCOL.md
- PROVENANCE_APP11_POSTSEEK_PROTOCOL.md
- PROVENANCE_APP11_READER_SCAN_PROTOCOL.md
- PROVENANCE_APP11_SPLIT_NEW_LABEL_GUARD_PROTOCOL.md
- PROVENANCE_BATCH_E_SUBSET_PROTOCOL.md
- PROVENANCE_COPY_REOPEN_PROTOCOL.md
- PROVENANCE_E_CHILD_DECISION_PROTOCOL.md
- PROVENANCE_FIELD_ID_CONSUMER_PROTOCOL.md
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/trace/stage_provenance_paste.ps1
PowerShell · 7,003 bytesparam(
[Parameter(Mandatory = $true)]
[ValidatePattern('^[a-z0-9][a-z0-9-]{0,39}$')]
[string]$TrialLabel,
[ValidateSet('before_third_minus1','before_third_exact','before_third_plus1','full_content_control')]
[string]$BoundaryCaseId = 'before_third_plus1',
[switch]$ValidateOnly
)
# Verify a signed old-build two-action UI trial. This stages input but never launches a guest.
$ErrorActionPreference = 'Stop'
$labRoot = (Resolve-Path -LiteralPath (Join-Path $PSScriptRoot '..')).Path
$boundaryDir = Join-Path $labRoot 'corpus\provenance_app11_boundary'
$boundaryManifestPath = Join-Path $boundaryDir 'generated\manifest.json'
$boundaryVerifier = Join-Path $boundaryDir 'verify_boundary_fixtures.py'
$controlPath = Join-Path $labRoot 'corpus\generated\40_official_c2pa_jpeg.jpg'
$controlHash = '75a8da33f6eaf1e16bf3b42cd78913b22b2e6a671fda217a508b1ba4230ce864'
$sdkHash = '339d8f47ea7bcc08b0c1f122a1e94d5d31860f1ad1ccf7faea1625ffd6de3904'
$profilePath = Join-Path $labRoot 'output\provenance-paste\old.provenance-paste.cdb.txt'
$profileManifestPath = "$profilePath.json"
$profileBuilder = Join-Path $PSScriptRoot 'build_provenance_paste_profile.py'
$actionIds = 'provenance_copy_control,provenance_copy_boundary'
& python $boundaryVerifier --check | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Pinned three-APP11 boundary corpus verification failed.' }
$boundaryManifest = Get-Content -LiteralPath $boundaryManifestPath -Raw | ConvertFrom-Json
if ($boundaryManifest.schema -cne 'paint-provenance-app11-boundary-v1' -or
$boundaryManifest.source_sha256 -cne $controlHash -or
(@($boundaryManifest.app11_sequence_indices) -join ',') -cne '1,2,3' -or
@($boundaryManifest.cases).Count -ne 4) {
throw 'Unexpected three-APP11 boundary manifest.'
}
$boundary = @($boundaryManifest.cases | Where-Object { $_.id -ceq $BoundaryCaseId })
if ($boundary.Count -ne 1 -or [string]$boundary[0].file -cnotmatch '^app11_boundary_[a-z0-9_]+\.jpg$' -or
[string]$boundary[0].sha256 -cnotmatch '^[0-9a-f]{64}$' -or
[long]$boundary[0].bytes -gt 1048576) {
throw 'Selected boundary fixture is absent or malformed.'
}
$boundaryPath = Join-Path $boundaryDir (Join-Path 'generated' ([string]$boundary[0].file))
if (-not (Test-Path -LiteralPath $boundaryPath -PathType Leaf) -or
(Get-Item -LiteralPath $boundaryPath).Length -ne [long]$boundary[0].bytes -or
(Get-FileHash -LiteralPath $boundaryPath -Algorithm SHA256).Hash.ToLowerInvariant() -cne
[string]$boundary[0].sha256) {
throw 'Selected boundary JPEG differs from the verified corpus.'
}
if (-not (Test-Path -LiteralPath $controlPath -PathType Leaf) -or
(Get-FileHash -LiteralPath $controlPath -Algorithm SHA256).Hash.ToLowerInvariant() -cne $controlHash) {
throw 'Pinned valid C2PA control JPEG differs.'
}
& python $profileBuilder --output $profilePath | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Old-build UI paste debugger profile generation failed.' }
$profile = Get-Content -LiteralPath $profileManifestPath -Raw | ConvertFrom-Json
if ($profile.profile -cne 'old' -or $profile.version -cne '11.2605.81.0' -or
$profile.diagnostic_mode -cne 'provenance-ui-copy-paste' -or
-not [bool]$profile.auto_continue -or
$profile.signed_sdk_sha256 -cne $sdkHash -or
[string]$profile.modules.'provenancesdk.dll'.sha256 -cne $sdkHash -or
@($profile.checkpoints).Count -lt 15 -or
@($profile.repeat_labels).Count -lt 9) {
throw 'Old-build debugger profile has unexpected signed modules or markers.'
}
if ($ValidateOnly) {
Write-Output "Verified valid control, $BoundaryCaseId JPEG, and repeated-breakpoint profile; no guest staged."
return
}
if (@(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue).Count -ne 0) {
throw 'A guest is active; do not replace mapped input.'
}
$wsbPath = (& (Join-Path $labRoot 'isolation\prepare-sandbox.ps1') `
-Build old -CorpusMode None -ActionTrial -ActionIds $actionIds `
-Networking Enable -VGpu Disable -TrialLabel $TrialLabel | Select-Object -Last 1)
if (-not (Test-Path -LiteralPath $wsbPath -PathType Leaf)) {
throw 'Shared preparer did not create a guest configuration.'
}
$followupDest = Join-Path $labRoot 'isolation\input\old\followup'
Copy-Item -LiteralPath $profilePath -Destination (Join-Path $followupDest 'old.provenance-paste.cdb.txt') -Force
Copy-Item -LiteralPath $profileManifestPath -Destination (Join-Path $followupDest 'old.provenance-paste.cdb.txt.json') -Force
$controlFile = 'provenance_copy_control.jpg'
$boundaryFile = 'provenance_copy_boundary.jpg'
Copy-Item -LiteralPath $controlPath -Destination (Join-Path $followupDest $controlFile) -Force
Copy-Item -LiteralPath $boundaryPath -Destination (Join-Path $followupDest $boundaryFile) -Force
$pasteManifest = [ordered]@{
schema = 'paint-provenance-paste-fixtures-v1'
cases = @(
[ordered]@{ id='provenance_copy_control'; source_case_id='40_official_c2pa_jpeg';
file=$controlFile; sha256=$controlHash; bytes=(Get-Item -LiteralPath $controlPath).Length },
[ordered]@{ id='provenance_copy_boundary'; source_case_id=$BoundaryCaseId;
file=$boundaryFile; sha256=[string]$boundary[0].sha256; bytes=[long]$boundary[0].bytes }
)
}
$pasteManifestPath = Join-Path $followupDest 'provenance_paste_manifest.json'
$pasteManifest | ConvertTo-Json -Depth 6 | Set-Content -LiteralPath $pasteManifestPath -Encoding UTF8
foreach ($case in $pasteManifest.cases) {
$staged = Join-Path $followupDest $case.file
if ((Get-FileHash -LiteralPath $staged -Algorithm SHA256).Hash.ToLowerInvariant() -cne $case.sha256) {
throw "Staged paste fixture differs: $($case.id)"
}
}
[xml]$config = Get-Content -LiteralPath $wsbPath -Raw
$command = [string]$config.Configuration.LogonCommand.Command
if ($command -notlike '*guest_action_entry.ps1*' -or
$command -notlike "*-ActionIds $actionIds*") {
throw 'Guest command does not select the two distinct paste actions.'
}
$sidecar = [ordered]@{
schema = 'paint-provenance-paste-stage-v1'
build = 'old'; trial_label = $TrialLabel
selected_actions = @('provenance_copy_control','provenance_copy_boundary')
boundary_case_id = $BoundaryCaseId
wsb_sha256 = (Get-FileHash -LiteralPath $wsbPath -Algorithm SHA256).Hash.ToLowerInvariant()
profile_sha256 = (Get-FileHash -LiteralPath $profilePath -Algorithm SHA256).Hash.ToLowerInvariant()
profile_manifest_sha256 = (Get-FileHash -LiteralPath $profileManifestPath -Algorithm SHA256).Hash.ToLowerInvariant()
paste_manifest_sha256 = (Get-FileHash -LiteralPath $pasteManifestPath -Algorithm SHA256).Hash.ToLowerInvariant()
boundary_manifest_sha256 = (Get-FileHash -LiteralPath $boundaryManifestPath -Algorithm SHA256).Hash.ToLowerInvariant()
}
$sidecar | ConvertTo-Json -Depth 5 | Set-Content -LiteralPath (
Join-Path $labRoot "isolation\generated\$TrialLabel.provenance-paste-stage.json") -Encoding UTF8
Write-Output $wsbPath