Skip to content

test(security): add poc for dsop modifier-map oob read (CVE-2026-65832) - #2

Open
nbolton wants to merge 2 commits into
mainfrom
poc/mod-map-oob
Open

test(security): add poc for dsop modifier-map oob read (CVE-2026-65832)#2
nbolton wants to merge 2 commits into
mainfrom
poc/mod-map-oob

Conversation

@nbolton

@nbolton nbolton commented Sep 8, 2026

Copy link
Copy Markdown
Member

PoC for CVE-2026-65832: a malicious server poisons m_modifierTranslationTable[Shift] via DSOP, then a shift keypress drives the out-of-bounds index in ServerProxy::translateKey.

Ported from deskflow/scripts#12, with @manop55555's TLS listener from deskflow/scripts#10 folded in and credited, since the original was plaintext-only and could not test a default install. Exits 1 on [FAIL] ... VULNERABLE, 0 on [PASS], 2 when inconclusive.

Ported from deskflow/scripts#12. Placeholder CVE identifiers replaced with
the assigned CVE-2026-65832, published 2026-07-03.
Deskflow ships with TLS on, so a plaintext-only PoC could only verify a
non-default configuration. Adds --cert/--key with --no-tls to opt out, ported
from the alternative PoC in deskflow/scripts#10.

Also guards the handshake and trigger sequence so a peer disconnecting early
exits 2 (inconclusive) instead of raising, which kept the exit-code contract
from holding.

Co-authored-by: manop55555 <109808848+manop55555@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant