登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
3.4K
hailey
/
oasys
forked from
程序员二师兄
/
oasys
确定同步?
同步操作将从
程序员二师兄/oasys
强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
删除在远程仓库中不存在的分支和标签
同步 Wiki
(当前仓库的 wiki 将会被覆盖!)
取消
确定
代码
Issues
7
Pull Requests
0
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
OA-system backend informcheck#top interface XSS vulnerability
待办的
#IBRQXH
hailey
拥有者
创建于
2025-03-08 11:08
Vulnerability Product: 程序员二师兄/oasys Vulnerability version: before 2025.01.01 Vulnerability type: XSS vulnerability Vulnerability Details: 1. By analyzing cn/gson/oasys/controller/inform/InformManageController.java:259, it is found that in the testMess method, the NoticesList object receives request parameters menu from the client.  2. Upon further analysis of the NoticesList object, it is determined at cn/gson/oasys/model/entity/notice/NoticesList.java:132 that it contains multiple parameters that can be directly input by the client. Throughout the entire process, these parameters are not filtered or escaped. Tracing upwards to cn/gson/oasys/model/entity/notice/NoticesList.java:38, it can be found that the top parameter is of the boolean type.   3. Continuing the analysis, when the top parameter is mistakenly passed as a string type by the client, an error will be reported at cn/gson/oasys/controller/inform/InformManageController.java:271. This string is then stored in the current HTTP request as an attribute named "errormess". Simultaneously, at cn/gson/oasys/controller/inform/InformManageController.java:306, all data is passed to the infromEdit method of the informedit route.   4. In the infromEdit method, at cn/gson/oasys/controller/inform/InformManageController.java:209, there is a check to see if "errormess" exists in the request. Continuing further, at cn/gson/oasys/controller/inform/InformManageController.java:225, all data is returned to the "inform/informedit" view template.