helloxz / onenav

使用PHP + SQLite 3开发的书签管理系统,将浏览器书签集中式管理,做到一处部署,随处访问。
https://www.onenav.top
Apache License 2.0
2.39k stars 464 forks source link

OneNav has directory traversal with file inclusion that can lead to Getshell #44

Closed Le0nsec closed 2 years ago

Le0nsec commented 2 years ago

漏洞简介 Vulnerability Introduction

由于index.php存在拼接且未经过滤的可控参数文件包含,可以进行路径穿越包含php原生pearcmd.php导致写入恶意文件Getshell。

Due to the inclusion of spliced and unfiltered controllable parameter files in index.php, path traversal can be performed to include php native pearcmd.php resulting in the writing of the malicious file getshell.

helloxz commented 2 years ago

该漏洞风险较高,我修改了你提交的漏洞详情,请谅解。感谢您的反馈,目前该漏洞已经在0.9.15中进行了修复。

Le0nsec commented 2 years ago

I applied for a CVE with the number CVE-2022-26276.