中的 函数在检查请求路径是否属于允许访问的父目录时,使用了 进行比较,但未在父路径末尾追加路径分隔符(如 )。因此,只要某个目录的名称以允许的父路径名开头,就会被判定为合法。例如,当 被允许访问时,对 的请求也会被误认为是受信任的路径,并通过 提供服务,从而泄露了原本应被限制访问的文件。 该检查是否生效取决于 中的 函数:当环境变量 设置为 时返回 ;设置为 时返回 ;否则,如果 Stable Diffusion WebUI 是以 、 、 或 参数启动的,则默认返回 ;若无上述参数且环境变量未设置,则默认返回 。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| zanllp | infinite-image-browsing | ≤ 1.8.0 |
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 |
|---|---|---|---|---|
| zanllp | infinite-image-browsing | 0 ~ 1.8.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet