ConnectBot SSH 客户端库采用 Kotlin 编写,并使用 Kaitai Struct 和 KStateMachine 实现。在版本 0.3.1 之前,SSH 协议解析器未对攻击者控制的内部字节长度和元素计数进行验证,直接信任这些值并假定它们不超过包含数据包的总长度。恶意或已被攻陷的 SSH 服务器可以返回一个小型但格式错误的报文,其中包含过大的声明字段,导致 Kaitai Struct 的 Java 运行时在检测到截断输入之前,尝试进行大量内存分配或反复解析。通用的传输路径只需建立客户端连接,无需认证
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| connectbot | cbssh | < 0.3.1 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| connectbot | cbssh | < 0.3.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet