-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Uncontrolled data used in path expression #11821
Comments
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/nacos
that referenced
this issue
Mar 13, 2024
5 tasks
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/nacos
that referenced
this issue
Mar 13, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/nacos
that referenced
this issue
Mar 13, 2024
KomachiSion
pushed a commit
that referenced
this issue
Mar 15, 2024
cxhello
pushed a commit
to cxhello/nacos
that referenced
this issue
Mar 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Uncontrolled data used in path expression
确保文件名没有路径分隔符或父目录引用
Expected behavior
ensure that the filename has no path separators or parent directory references
确保文件名没有路径分隔符或父目录引用
Actually behavior
If parameter
language
contains.
or/
, it may affect system security参数
language
如果包含.
或者/
可能影响系统安全How to Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
https://github.com/alibaba/nacos/blob/2.3.1/console/src/main/java/com/alibaba/nacos/console/controller/ServerStateController.java#L65-L75
The text was updated successfully, but these errors were encountered: