Repository navigation
Commit 6ffa698
authored
CVE-2026-XXXX[SECURITY][G] remove public documentation of auth bypass from Knife4jConfig (#5459)
The Knife4jConfig scaladoc literally instructed readers to set
dataworkcloud_inner_request=true (plus a forged ticket value) in their
browser cookies to access protected API docs. This constituted public
documentation of the bypass mechanism.
This commit removes the bypass instructions and the unsafe
wds.linkis.test.mode suggestion. Replaces them with a safe
wds.linkis.server.user.restful.uri.pass.auth whitelist approach
and a security notice.
Reported-by: Strick Sheng, Liyi Zhou, Ziyue, Maurice, Chenchen
#AI COMMIT#1 parent bb26ad3 commit 6ffa698
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments