登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
3.3K
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 addandchangeday#title interface XSS vulnerability
待办的
#IBRRZX
hailey
拥有者
创建于
2025-03-08 15:03
Vulnerability Product: 程序员二师兄/oasys Vulnerability version: before 2025.01.01 Vulnerability type: XSS vulnerability Vulnerability Details: 1. By analyzing cn/gson/oass/controller/daymanager/daymanageability Controller. java: 181, it was found that in the addandchangeday() method, the ScheduleList object received the request parameter scheduleList from the client, and continued to store the scheduleList data directly in the database in cn/gson/oass/controller/daymanagement/Daymanageability Controller. java: 200 before returning it to the/daymanagement route.  2. Continuing to analyze the addandchangeday object, it can be found that the title parameter in cn/gson/oases/model/entity/schedule/scheduleList. java: 50 belongs to the String type, and the downward path cn/gson/oases/model/entity/schedule/scheduleList. java: 189 confirms that it contains multiple parameters that can be directly input by the client, without filtering or escaping these parameters throughout the process.   3. Continuing to analyze/daymanage routing, store the obtained Schedule List object list in the template on the cn/gson/oasys/controller/daymanagement/Daymanagement Controller. java: 72 path, and access and display the information of Schedule List objects through the "schedules" key. Finally, return all data to the daymanagement/daymanagement view template.  4. Continue to pass data to the daymanagement paging. ftl template file in the templates/daymanagement/daymanagement view template at 28.  5. After arriving at the template file, the ${(schedule. title)! ''} path of templates/daymanagement/daymanagement paging. ftl: 45 directly concatenates the title parameter value of the client-side string, without compiling or escaping the title throughout the process. Therefore, XSS vulnerabilities can be triggered through the title parameter.  6. Construct POC, log in and capture packets. ``` http://127.0.0.1:18089/addandchangeday?describe=1&endTime=2024-05-08+12%3A14%3A10&rcId=&shareuser=%E6%9C%B1%E4%B8%BD%E5%8F%B6&startTime=2024-05-07+12%3A14%3A10&statusId=27&title=<script>prompt("XSS-addandchangeday:title")</script>&typeId=45 ```  
Vulnerability Product: 程序员二师兄/oasys Vulnerability version: before 2025.01.01 Vulnerability type: XSS vulnerability Vulnerability Details: 1. By analyzing cn/gson/oass/controller/daymanager/daymanageability Controller. java: 181, it was found that in the addandchangeday() method, the ScheduleList object received the request parameter scheduleList from the client, and continued to store the scheduleList data directly in the database in cn/gson/oass/controller/daymanagement/Daymanageability Controller. java: 200 before returning it to the/daymanagement route.  2. Continuing to analyze the addandchangeday object, it can be found that the title parameter in cn/gson/oases/model/entity/schedule/scheduleList. java: 50 belongs to the String type, and the downward path cn/gson/oases/model/entity/schedule/scheduleList. java: 189 confirms that it contains multiple parameters that can be directly input by the client, without filtering or escaping these parameters throughout the process.   3. Continuing to analyze/daymanage routing, store the obtained Schedule List object list in the template on the cn/gson/oasys/controller/daymanagement/Daymanagement Controller. java: 72 path, and access and display the information of Schedule List objects through the "schedules" key. Finally, return all data to the daymanagement/daymanagement view template.  4. Continue to pass data to the daymanagement paging. ftl template file in the templates/daymanagement/daymanagement view template at 28.  5. After arriving at the template file, the ${(schedule. title)! ''} path of templates/daymanagement/daymanagement paging. ftl: 45 directly concatenates the title parameter value of the client-side string, without compiling or escaping the title throughout the process. Therefore, XSS vulnerabilities can be triggered through the title parameter.  6. Construct POC, log in and capture packets. ``` http://127.0.0.1:18089/addandchangeday?describe=1&endTime=2024-05-08+12%3A14%3A10&rcId=&shareuser=%E6%9C%B1%E4%B8%BD%E5%8F%B6&startTime=2024-05-07+12%3A14%3A10&statusId=27&title=<script>prompt("XSS-addandchangeday:title")</script>&typeId=45 ```  
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
public
lx
sj
yqs
zhx
zzy
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Java
1
https://gitee.com/hailey888/oa_system.git
git@gitee.com:hailey888/oa_system.git
hailey888
oa_system
oasys
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册