This repository was archived by the owner on May 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : push-branch-compare
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : push
17+ run : |
18+ rm -rf branch-compare
19+ git init branch-compare
20+ cd branch-compare
21+ git config user.name "github-action"
22+ git config user.email "github-action@example.com"
23+ git branch -m compare
24+ cp ../scratch3_ccw_data.cbf43b4e.PrettyPrint.before.js scratch3_ccw_data.cbf43b4e.PrettyPrint.js
25+ git add .
26+ git commit -m "before"
27+ cp -f ../scratch3_ccw_data.cbf43b4e.PrettyPrint.js ./
28+ git add .
29+ git commit -m "Fix CCWData code injection security vulnerability"
30+ git remote add origin ${{github.repositoryUrl}}
31+ git push -u origin compare -f
Original file line number Diff line number Diff line change 1- dist
1+ dist
2+ branch-compare
Original file line number Diff line number Diff line change 11How to fix CCWData code injection security vulnerability
22
3- https://github.com/bddjr/CCWData-Code-Injection-Fix/compare/before ...HEAD
3+ https://github.com/bddjr/CCWData-Code-Injection-Fix/compare/compare^ ...compare
44
55---
66
7- User Script:
8- https://bddjr.github.io/CCWData-Code-Injection-Fix/CCWData-Code-Injection-Fix.user.js
7+ 安装TamperMonkey,然后访问这个链接安装脚本,即可修复Gandi云数据扩展的代码注入(Code injection)漏洞:
8+ https://bddjr.github.io/CCWData-Code-Injection-Fix/CCWData-Code-Injection-Fix.user.js
9+
10+ 脚本的副作用:
11+ 因为该脚本修复了漏洞,所以可能会被部分作品误认为使用了某安全审计工具。
12+
13+ ---
14+
15+ 为什么会有这样的漏洞呢?我不知道,但我怀疑这大概率是扩展作者故意留的漏洞。
16+
17+ 扩展标注有两位作者,我并不清楚漏洞是哪位作者留的,如果是右边那位,他的最后活跃时间是2022年,也就是说,他早就跑路了,谴责他也没用。
18+
19+ 有人知道有漏洞,但故意不修,只是标记为“过时的积木”,然后隐藏起来,就当无事发生,然而只要漏洞还存在,用户的账号就还会暴露在风险之中。
20+
21+ ---
22+
23+ 2025年12月,攻击者利用代码注入(Code injection)漏洞,篡改了访问者的账号昵称和头像,其中包括Gandi云数据扩展的代码注入漏洞。随后“鸭鸭院长”发表的[ 文章] ( https://learn.ccw.site/article/6af308a5-cb78-465c-bb1e-572c48f0fc5e ) ,仅提到某个第三方扩展的漏洞,却没有提到同时被攻击者利用的Gandi云数据扩展的代码注入漏洞。
24+
25+ 幸运的是,2026年1月16日,共创世界修复了list_sessions获取用户token的漏洞,攻击者不能再借助该漏洞盗号。但这并不代表风险完全解除了,只要作品的代码注入漏洞仍然存在,用户就仍然面临账号被攻击者用来执行恶意操作的风险。
You can’t perform that action at this time.
0 commit comments