GHSA-8jxm-xp43-qh3q

Suggest an improvement
Source
https://github.com/advisories/GHSA-8jxm-xp43-qh3q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-8jxm-xp43-qh3q/GHSA-8jxm-xp43-qh3q.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8jxm-xp43-qh3q
Aliases
Related
Published
2023-06-21T22:08:34Z
Modified
2024-11-18T16:26:30Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-06-26T20:15:10Z",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-21T22:08:34Z",
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-327"
    ]
}
References

Affected packages

Go / github.com/bishopfox/sliver

Package

Name
github.com/bishopfox/sliver
View open source insights on deps.dev
Purl
pkg:golang/github.com/bishopfox/sliver

Affected ranges

Type
SEMVER
Events
Introduced
1.5.0
Fixed
1.5.40