Advisory

GHSA-8jxm-xp43-qh3q

Also known as: CVE-2023-34758, CVE-2023-35170, GO-2023-1866

Summary

Silver vulnerable to MitM attack against implants due to a cryptography vulnerability

Details

Summary
The current cryptography implementation in Sliver up to version 1.5.39 allows a MitM with access to the corresponding implant binary to execute arbitrary codes on implanted devices via intercepted and crafted responses. (Reserved CVE ID: CVE-2023-34758)

Details
Please see the PoC repo.

PoC
Please also see the PoC repo.
To setup a simple PoC environment,

  1. Generate an implant with its C2 set to the PoC server's address and copy the embedded private implant key and public server key into the config json.
  2. Run the implant on a separate VM and a notepad.exe window should pop up on the implanted VM.

Impact
A successful attack grants the attacker permission to execute arbitrary code on the implanted device.

References
https://github.com/BishopFox/sliver/blob/master/implant/sliver/cryptography/implant.go
https://github.com/BishopFox/sliver/blob/master/implant/sliver/cryptography/crypto.go
https://github.com/tangent65536/Slivjacker

Credits
Ting-Wei Hsieh from CHT Security Co. Ltd.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-06-21 22:08 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

github.com/bishopfox/sliver

Go · All systems

Affected

  • introduced 1.5.0, fixed 1.5.40 (semver)

Fixed versions

1.5.40

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences